#238A2E#238A2E
#238A2E is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.159 H 144.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #238A2E |
|---|---|
| RGB | rgb(35, 138, 46) |
| HSL | hsl(126, 60%, 34%) |
| HSV | hsv(126, 75%, 54%) |
| CMYK | cmyk(74.6%, 0%, 66.7%, 45.9%) |
| CIE-LAB | lab(50.37, -47.90, 39.80) |
| CIE-LCH | lch(50.37, 62.28, 140.28°) |
| OKLab | oklab(55.63% -0.1295 0.0924) |
| OKLCH | oklch(55.63% 0.159 144.5) |
| XYZ | xyz(10.2741, 18.7304, 5.6581) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.72
Emerald Green
#028F1E
ΔE00 2.79
Kelley Green
#009337
ΔE00 3.39
Irish Green
#019529
ΔE00 4.01
Tree Green
#2A7E19
ΔE00 4.77
Green
#008000
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238A2E #8A237F
analogous
#4C8A23 #238A2E #238A62
triadic
#238A2E #2E238A #8A2E23
tetradic
#238A2E #234C8A #8A237F #8A6223
square
#238A2E #234C8A #8A237F #8A6223
split-complementary
#238A2E #62238A #8A234C
monochromatic
#0A280D #17591E #238A2E #2FBB3E #54D461
Accessibility & contrast
On white
4.42
#238A2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#238A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238A2E
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238A2E | 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)
#8D7D23
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #238a2e; /* rgb */ color: rgb(35, 138, 46); /* oklch */ color: oklch(55.6% 0.159 144.5);
Tailwind
colors: {
custom: {
50: '#6fad6b',
500: '#238a2e',
950: '#000000',
},
}SCSS
$custom: #238a2e; $custom-light: #6fad6b; $custom-dark: #000000;
JSON
{
"hex": "#238a2e",
"rgb": {
"r": 35,
"g": 138,
"b": 46
},
"hsl": {
"h": 126.408,
"s": 59.538,
"l": 33.922
},
"oklch": {
"l": 0.55632,
"c": 0.15906,
"h": 144.5
},
"luminance": 0.18732
}Semantic roles & 50–950 ramp
primary
#238A2E
secondary
#B751AD
accent
#45D2E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A