#238A2F#238A2F
#238A2F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.158 H 144.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #238A2F |
|---|---|
| RGB | rgb(35, 138, 47) |
| HSL | hsl(127, 60%, 34%) |
| HSV | hsv(127, 75%, 54%) |
| CMYK | cmyk(74.6%, 0%, 65.9%, 45.9%) |
| CIE-LAB | lab(50.38, -47.79, 39.36) |
| CIE-LCH | lch(50.38, 61.91, 140.53°) |
| OKLab | oklab(55.64% -0.1291 0.0915) |
| OKLCH | oklch(55.64% 0.158 144.7) |
| XYZ | xyz(10.2940, 18.7384, 5.7631) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.87
Emerald Green
#028F1E
ΔE00 2.90
Kelley Green
#009337
ΔE00 3.35
Irish Green
#019529
ΔE00 4.05
Tree Green
#2A7E19
ΔE00 4.84
Green
#008000
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238A2F #8A237E
analogous
#4B8A23 #238A2F #238A63
triadic
#238A2F #2F238A #8A2F23
tetradic
#238A2F #234B8A #8A237E #8A6323
square
#238A2F #234B8A #8A237E #8A6323
split-complementary
#238A2F #63238A #8A234B
monochromatic
#0A280E #17591E #238A2F #2FBB40 #54D463
Accessibility & contrast
On white
4.42
#238A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#238A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238A2F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238A2F | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7D24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #238a2f; /* rgb */ color: rgb(35, 138, 47); /* oklch */ color: oklch(55.6% 0.158 144.7);
Tailwind
colors: {
custom: {
50: '#6fad6c',
500: '#238a2f',
950: '#000000',
},
}SCSS
$custom: #238a2f; $custom-light: #6fad6c; $custom-dark: #000000;
JSON
{
"hex": "#238a2f",
"rgb": {
"r": 35,
"g": 138,
"b": 47
},
"hsl": {
"h": 126.99,
"s": 59.538,
"l": 33.922
},
"oklch": {
"l": 0.55643,
"c": 0.1583,
"h": 144.7
},
"luminance": 0.1874
}Semantic roles & 50–950 ramp
primary
#238A2F
secondary
#B751AC
accent
#45D0E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A