Nearest named color · #227C3B
#227C3B
Nearest named color: Pharmaceutical Green
#227C3B (rgb(34 124 59), hsl(137 57% 31%), oklch(0.518 0.13 148.6)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#227C3B
oklch(0.518 0.13 148.6)
Color conversions
- HEX
- #227c3b
- RGB
- rgb(34 124 59)
- HSL
- hsl(137 57% 31%)
- HWB
- hwb(137 13% 51%)
- OKLCH
- oklch(0.518 0.13 148.6)
- OKLab
- oklab(0.518 -0.111 0.068)
- CIE Lab
- lab(45.73 -38.55 27.34)
- LCH
- lch(45.73 47.27 144.7)
- CMYK
- cmyk(73% 0% 52% 51%)
Tints · Shades · Tones
Tints
- 3E894E
- 559661
- 6BA374
- 80B087
- 95BD9A
- AACAAE
- BFD7C2
- D4E4D6
- E9F2EA
Shades
- 1C6B32
- 165A29
- 114A21
- 0B3B19
- 072C11
- 031E09
- 011104
- 000501
- 000100
Tones
- 317D43
- 3D7D4A
- 477E51
- 517F58
- 597F5F
- 627F66
- 6A806C
- 718073
- 79807A
Color harmonies
Complementary +180°
- 227C3B
Pharmaceutical Green
- 904A8D
≈ Pickled Plum
Analogous -30° +30°
- 227C3B
Pharmaceutical Green
- 627100
≈ Brownish Green
- 007A69
≈ Shady Glade
Triadic +120° +240°
- 227C3B
Pharmaceutical Green
- 4A62B3
≈ Kakitsubata Blue
- A6463B
≈ Red Revival
Split-complementary +150° +210°
- 227C3B
Pharmaceutical Green
- 7355A8
≈ Prophet Violet
- A14367
≈ Ancient Fuchsia
Tetradic +90° +180° +270°
- 227C3B
Pharmaceutical Green
- 0070A3
≈ Cat’s Purr
- 904A8D
≈ Pickled Plum
- 9B5300
≈ Charlie Brown
Contrast & accessibility
Ag
AAOn white
WCAG 5.23:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #227c3b;
--pharmaceutical-green-rgb: 34 124 59;
--pharmaceutical-green-oklch: oklch(0.518 0.13 148.6);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(137 57% 31%);
border-color: oklch(0.518 0.13 148.6);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #227c3b;
--color-pharmaceutical-green-50: #dcffe2;
--color-pharmaceutical-green-100: #caf5d2;
--color-pharmaceutical-green-200: #ace5b8;
--color-pharmaceutical-green-300: #85ca95;
--color-pharmaceutical-green-400: #63b373;
--color-pharmaceutical-green-500: #3b9d53;
--color-pharmaceutical-green-600: #348547;
--color-pharmaceutical-green-700: #296a38;
--color-pharmaceutical-green-800: #1f4e26;
--color-pharmaceutical-green-900: #143619;
--color-pharmaceutical-green-950: #05210a;
}SCSS
$pharmaceutical-green: #227c3b;
$pharmaceutical-green-rgb: 34, 124, 59;
$pharmaceutical-green-light: mix(#fff, $pharmaceutical-green, 20%);
$pharmaceutical-green-dark: mix(#000, $pharmaceutical-green, 20%);
.element {
color: $pharmaceutical-green;
box-shadow: 0 0 0 2px rgba($pharmaceutical-green, 0.35);
}