#238E1F#238E1F
#238E1F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.174 H 142.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #238E1F |
|---|---|
| RGB | rgb(35, 142, 31) |
| HSL | hsl(118, 64%, 34%) |
| HSV | hsv(118, 78%, 56%) |
| CMYK | cmyk(75.4%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(51.61, -50.66, 47.12) |
| CIE-LCH | lch(51.61, 69.19, 137.07°) |
| OKLab | oklab(56.63% -0.1377 0.1058) |
| OKLCH | oklch(56.63% 0.174 142.5) |
| XYZ | xyz(10.6128, 19.8011, 4.5587) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.20
Emerald Green
#028F1E
ΔE00 1.23
Irish Green
#019529
ΔE00 2.79
True Green
#089404
ΔE00 2.80
Kelley Green
#009337
ΔE00 3.83
Green
#008000
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238E1F #8A1F8E
analogous
#5B8E1F #238E1F #1F8E53
triadic
#238E1F #1F238E #8E1F23
tetradic
#238E1F #1F5B8E #8A1F8E #8E531F
square
#238E1F #1F5B8E #8A1F8E #8E531F
split-complementary
#238E1F #531F8E #8E1F5B
monochromatic
#0A2A09 #175C14 #238E1F #2FC02A #54D94F
Accessibility & contrast
On white
4.23
#238E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#238E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238E1F
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238E1F | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 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)
#918004
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #238e1f; /* rgb */ color: rgb(35, 142, 31); /* oklch */ color: oklch(56.6% 0.174 142.5);
Tailwind
colors: {
custom: {
50: '#71b063',
500: '#238e1f',
950: '#000000',
},
}SCSS
$custom: #238e1f; $custom-light: #71b063; $custom-dark: #000000;
JSON
{
"hex": "#238e1f",
"rgb": {
"r": 35,
"g": 142,
"b": 31
},
"hsl": {
"h": 117.838,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.56626,
"c": 0.17367,
"h": 142.5
},
"luminance": 0.19802
}Semantic roles & 50–950 ramp
primary
#238E1F
secondary
#B74DBB
accent
#41E7E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A