#238E2A#238E2A
#238E2A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.167 H 143.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #238E2A |
|---|---|
| RGB | rgb(35, 142, 42) |
| HSL | hsl(124, 60%, 35%) |
| HSV | hsv(124, 75%, 56%) |
| CMYK | cmyk(75.4%, 0%, 70.4%, 44.3%) |
| CIE-LAB | lab(51.69, -49.71, 42.97) |
| CIE-LCH | lch(51.69, 65.71, 139.16°) |
| OKLab | oklab(56.72% -0.1346 0.0986) |
| OKLCH | oklch(56.72% 0.167 143.8) |
| XYZ | xyz(10.7834, 19.8693, 5.4569) |
| Luminance | 0.1987 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.33
Emerald Green
#028F1E
ΔE00 1.58
Irish Green
#019529
ΔE00 2.54
Kelley Green
#009337
ΔE00 2.76
True Green
#089404
ΔE00 3.81
Tree Green
#2A7E19
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238E2A #8E2387
analogous
#528E23 #238E2A #238E5F
triadic
#238E2A #2A238E #8E2A23
tetradic
#238E2A #23528E #8E2387 #8E5F23
square
#238E2A #23528E #8E2387 #8E5F23
split-complementary
#238E2A #5F238E #8E2352
monochromatic
#0B2C0D #175D1B #238E2A #2FBF39 #56D55E
Accessibility & contrast
On white
4.22
#238E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#238E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238E2A
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238E2A | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #238e2a; /* rgb */ color: rgb(35, 142, 42); /* oklch */ color: oklch(56.7% 0.167 143.8);
Tailwind
colors: {
custom: {
50: '#70b069',
500: '#238e2a',
950: '#000000',
},
}SCSS
$custom: #238e2a; $custom-light: #70b069; $custom-dark: #000000;
JSON
{
"hex": "#238e2a",
"rgb": {
"r": 35,
"g": 142,
"b": 42
},
"hsl": {
"h": 123.925,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.56715,
"c": 0.16685,
"h": 143.8
},
"luminance": 0.1987
}Semantic roles & 50–950 ramp
primary
#238E2A
secondary
#B953B3
accent
#44D9E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A