#238B1A#238B1A
#238B1A is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.173 H 142.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #238B1A |
|---|---|
| RGB | rgb(35, 139, 26) |
| HSL | hsl(115, 68%, 32%) |
| HSV | hsv(115, 81%, 55%) |
| CMYK | cmyk(74.8%, 0%, 81.3%, 45.5%) |
| CIE-LAB | lab(50.57, -50.00, 47.78) |
| CIE-LCH | lch(50.57, 69.16, 136.30°) |
| OKLab | oklab(55.75% -0.1362 0.1065) |
| OKLCH | oklch(55.75% 0.173 142) |
| XYZ | xyz(10.1116, 18.8960, 4.0915) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.91
Emerald Green
#028F1E
ΔE00 1.85
True Green
#089404
ΔE00 3.46
Irish Green
#019529
ΔE00 3.83
Green
#008000
ΔE00 4.35
Tree Green
#2A7E19
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238B1A #821A8B
analogous
#5C8B1A #238B1A #1A8B49
triadic
#238B1A #1A238B #8B1A23
tetradic
#238B1A #1A5C8B #821A8B #8B491A
square
#238B1A #1A5C8B #821A8B #8B491A
split-complementary
#238B1A #491A8B #8B1A5C
monochromatic
#092407 #165710 #238B1A #30BF24 #50DC43
Accessibility & contrast
On white
4.39
#238B1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#238B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238B1A
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238B1A | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #238b1a; /* rgb */ color: rgb(35, 139, 26); /* oklch */ color: oklch(55.7% 0.173 142.0);
Tailwind
colors: {
custom: {
50: '#70ae61',
500: '#238b1a',
950: '#000000',
},
}SCSS
$custom: #238b1a; $custom-light: #70ae61; $custom-dark: #000000;
JSON
{
"hex": "#238b1a",
"rgb": {
"r": 35,
"g": 139,
"b": 26
},
"hsl": {
"h": 115.221,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.55748,
"c": 0.17284,
"h": 142
},
"luminance": 0.18897
}Semantic roles & 50–950 ramp
primary
#238B1A
secondary
#B344BD
accent
#3CEBDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A