#238B2B#238B2B
#238B2B is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.163 H 144.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #238B2B |
|---|---|
| RGB | rgb(35, 139, 43) |
| HSL | hsl(125, 60%, 34%) |
| HSV | hsv(125, 75%, 55%) |
| CMYK | cmyk(74.8%, 0%, 69.1%, 45.5%) |
| CIE-LAB | lab(50.68, -48.57, 41.46) |
| CIE-LCH | lch(50.68, 63.86, 139.51°) |
| OKLab | oklab(55.88% -0.1315 0.0955) |
| OKLCH | oklch(55.88% 0.163 144) |
| XYZ | xyz(10.3611, 18.9958, 5.4055) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.16
Emerald Green
#028F1E
ΔE00 2.23
Kelley Green
#009337
ΔE00 3.29
Irish Green
#019529
ΔE00 3.56
True Green
#089404
ΔE00 4.71
Tree Green
#2A7E19
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238B2B #8B2383
analogous
#4F8B23 #238B2B #238B5F
triadic
#238B2B #2B238B #8B2B23
tetradic
#238B2B #234F8B #8B2383 #8B5F23
square
#238B2B #234F8B #8B2383 #8B5F23
split-complementary
#238B2B #5F238B #8B234F
monochromatic
#0A290D #175A1C #238B2B #2FBC3A #54D45E
Accessibility & contrast
On white
4.38
#238B2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#238B2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238B2B
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238B2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238B2B | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #238b2b; /* rgb */ color: rgb(35, 139, 43); /* oklch */ color: oklch(55.9% 0.163 144.0);
Tailwind
colors: {
custom: {
50: '#6fae69',
500: '#238b2b',
950: '#000000',
},
}SCSS
$custom: #238b2b; $custom-light: #6fae69; $custom-dark: #000000;
JSON
{
"hex": "#238b2b",
"rgb": {
"r": 35,
"g": 139,
"b": 43
},
"hsl": {
"h": 124.615,
"s": 59.77,
"l": 34.118
},
"oklch": {
"l": 0.55882,
"c": 0.16252,
"h": 144
},
"luminance": 0.18997
}Semantic roles & 50–950 ramp
primary
#238B2B
secondary
#B852B0
accent
#45D7E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A