#238B2E#238B2E
#238B2E is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.160 H 144.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #238B2E |
|---|---|
| RGB | rgb(35, 139, 46) |
| HSL | hsl(126, 60%, 34%) |
| HSV | hsv(126, 75%, 55%) |
| CMYK | cmyk(74.8%, 0%, 66.9%, 45.5%) |
| CIE-LAB | lab(50.71, -48.25, 40.17) |
| CIE-LCH | lch(50.71, 62.78, 140.22°) |
| OKLab | oklab(55.91% -0.1304 0.0932) |
| OKLCH | oklch(55.91% 0.16 144.5) |
| XYZ | xyz(10.4182, 19.0186, 5.7061) |
| Luminance | 0.1902 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.60
Emerald Green
#028F1E
ΔE00 2.53
Kelley Green
#009337
ΔE00 3.11
Irish Green
#019529
ΔE00 3.66
True Green
#089404
ΔE00 5.05
Tree Green
#2A7E19
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238B2E #8B2380
analogous
#4C8B23 #238B2E #238B62
triadic
#238B2E #2E238B #8B2E23
tetradic
#238B2E #234C8B #8B2380 #8B6223
square
#238B2E #234C8B #8B2380 #8B6223
split-complementary
#238B2E #62238B #8B234C
monochromatic
#0A290E #175A1E #238B2E #2FBC3E #54D462
Accessibility & contrast
On white
4.37
#238B2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#238B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238B2E
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238B2E | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 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)
#8E7E22
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #238b2e; /* rgb */ color: rgb(35, 139, 46); /* oklch */ color: oklch(55.9% 0.160 144.5);
Tailwind
colors: {
custom: {
50: '#6fae6b',
500: '#238b2e',
950: '#000000',
},
}SCSS
$custom: #238b2e; $custom-light: #6fae6b; $custom-dark: #000000;
JSON
{
"hex": "#238b2e",
"rgb": {
"r": 35,
"g": 139,
"b": 46
},
"hsl": {
"h": 126.346,
"s": 59.77,
"l": 34.118
},
"oklch": {
"l": 0.55913,
"c": 0.16029,
"h": 144.5
},
"luminance": 0.1902
}Semantic roles & 50–950 ramp
primary
#238B2E
secondary
#B852AD
accent
#45D2E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A