#238E2F#238E2F
#238E2F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.163 H 144.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #238E2F |
|---|---|
| RGB | rgb(35, 142, 47) |
| HSL | hsl(127, 60%, 35%) |
| HSV | hsv(127, 75%, 56%) |
| CMYK | cmyk(75.4%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(51.73, -49.19, 40.85) |
| CIE-LCH | lch(51.73, 63.94, 140.29°) |
| OKLab | oklab(56.77% -0.133 0.0947) |
| OKLCH | oklch(56.77% 0.163 144.5) |
| XYZ | xyz(10.8785, 19.9073, 5.9580) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.84
Emerald Green
#028F1E
ΔE00 2.12
Kelley Green
#009337
ΔE00 2.32
Irish Green
#019529
ΔE00 2.69
True Green
#089404
ΔE00 4.41
Fern Green
#548D44
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238E2F #8E2382
analogous
#4D8E23 #238E2F #238E65
triadic
#238E2F #2F238E #8E2F23
tetradic
#238E2F #234D8E #8E2382 #8E6523
square
#238E2F #234D8E #8E2382 #8E6523
split-complementary
#238E2F #65238E #8E234D
monochromatic
#0B2C0E #175D1F #238E2F #2FBF3F #56D564
Accessibility & contrast
On white
4.22
#238E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#238E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238E2F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238E2F | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918023
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #238e2f; /* rgb */ color: rgb(35, 142, 47); /* oklch */ color: oklch(56.8% 0.163 144.5);
Tailwind
colors: {
custom: {
50: '#70b06c',
500: '#238e2f',
950: '#000000',
},
}SCSS
$custom: #238e2f; $custom-light: #70b06c; $custom-dark: #000000;
JSON
{
"hex": "#238e2f",
"rgb": {
"r": 35,
"g": 142,
"b": 47
},
"hsl": {
"h": 126.729,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.56765,
"c": 0.16323,
"h": 144.5
},
"luminance": 0.19909
}Semantic roles & 50–950 ramp
primary
#238E2F
secondary
#B953AE
accent
#44D2E4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A