#238E1B#238E1B
#238E1B is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.176 H 142.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #238E1B |
|---|---|
| RGB | rgb(35, 142, 27) |
| HSL | hsl(116, 68%, 33%) |
| HSV | hsv(116, 81%, 56%) |
| CMYK | cmyk(75.4%, 0%, 81%, 44.3%) |
| CIE-LAB | lab(51.59, -50.94, 48.43) |
| CIE-LCH | lch(51.59, 70.29, 136.44°) |
| OKLab | oklab(56.6% -0.1386 0.108) |
| OKLCH | oklch(56.6% 0.176 142.1) |
| XYZ | xyz(10.5633, 19.7813, 4.2982) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.40
Forestgreen (CSS)
#228B22
ΔE00 1.44
True Green
#089404
ΔE00 2.56
Irish Green
#019529
ΔE00 2.98
Kelley Green
#009337
ΔE00 4.20
Green
#008000
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238E1B #861B8E
analogous
#5C8E1B #238E1B #1B8E4C
triadic
#238E1B #1B238E #8E1B23
tetradic
#238E1B #1B5C8E #861B8E #8E4C1B
square
#238E1B #1B5C8E #861B8E #8E4C1B
split-complementary
#238E1B #4C1B8E #8E1B5C
monochromatic
#0A2707 #165B11 #238E1B #30C125 #52DC47
Accessibility & contrast
On white
4.24
#238E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#238E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238E1B
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238E1B | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #238e1b; /* rgb */ color: rgb(35, 142, 27); /* oklch */ color: oklch(56.6% 0.176 142.1);
Tailwind
colors: {
custom: {
50: '#71b062',
500: '#238e1b',
950: '#000000',
},
}SCSS
$custom: #238e1b; $custom-light: #71b062; $custom-dark: #000000;
JSON
{
"hex": "#238e1b",
"rgb": {
"r": 35,
"g": 142,
"b": 27
},
"hsl": {
"h": 115.826,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.566,
"c": 0.17572,
"h": 142.1
},
"luminance": 0.19782
}Semantic roles & 50–950 ramp
primary
#238E1B
secondary
#B547BE
accent
#3DEBDF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A