#238F1B#238F1B
#238F1B is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.177 H 142.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #238F1B |
|---|---|
| RGB | rgb(35, 143, 27) |
| HSL | hsl(116, 68%, 33%) |
| HSV | hsv(116, 81%, 56%) |
| CMYK | cmyk(75.5%, 0%, 81.1%, 43.9%) |
| CIE-LAB | lab(51.93, -51.27, 48.76) |
| CIE-LCH | lch(51.93, 70.75, 136.44°) |
| OKLab | oklab(56.88% -0.1395 0.1086) |
| OKLCH | oklch(56.88% 0.177 142.1) |
| XYZ | xyz(10.7128, 20.0802, 4.3480) |
| Luminance | 0.2008 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.42
Forestgreen (CSS)
#228B22
ΔE00 1.75
True Green
#089404
ΔE00 2.27
Irish Green
#019529
ΔE00 2.76
Kelley Green
#009337
ΔE00 4.13
Grass Green
#3F9B0B
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238F1B #871B8F
analogous
#5D8F1B #238F1B #1B8F4D
triadic
#238F1B #1B238F #8F1B23
tetradic
#238F1B #1B5D8F #871B8F #8F4D1B
square
#238F1B #1B5D8F #871B8F #8F4D1B
split-complementary
#238F1B #4D1B8F #8F1B5D
monochromatic
#0A2808 #165C11 #238F1B #30C225 #52DC48
Accessibility & contrast
On white
4.19
#238F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#238F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238F1B
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238F1B | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #238f1b; /* rgb */ color: rgb(35, 143, 27); /* oklch */ color: oklch(56.9% 0.177 142.1);
Tailwind
colors: {
custom: {
50: '#71b162',
500: '#238f1b',
950: '#000000',
},
}SCSS
$custom: #238f1b; $custom-light: #71b162; $custom-dark: #000000;
JSON
{
"hex": "#238f1b",
"rgb": {
"r": 35,
"g": 143,
"b": 27
},
"hsl": {
"h": 115.862,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.56882,
"c": 0.17685,
"h": 142.1
},
"luminance": 0.20081
}Semantic roles & 50–950 ramp
primary
#238F1B
secondary
#B648BE
accent
#3DEBDF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A