#238E28#238E28
#238E28 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.168 H 143.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #238E28 |
|---|---|
| RGB | rgb(35, 142, 40) |
| HSL | hsl(123, 60%, 35%) |
| HSV | hsv(123, 75%, 56%) |
| CMYK | cmyk(75.4%, 0%, 71.8%, 44.3%) |
| CIE-LAB | lab(51.67, -49.90, 43.78) |
| CIE-LCH | lch(51.67, 66.38, 138.74°) |
| OKLab | oklab(56.7% -0.1352 0.1) |
| OKLCH | oklch(56.7% 0.168 143.5) |
| XYZ | xyz(10.7485, 19.8553, 5.2731) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.19
Emerald Green
#028F1E
ΔE00 1.41
Irish Green
#019529
ΔE00 2.53
Kelley Green
#009337
ΔE00 2.96
True Green
#089404
ΔE00 3.59
Green
#008000
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238E28 #8E2389
analogous
#538E23 #238E28 #238E5E
triadic
#238E28 #28238E #8E2823
tetradic
#238E28 #23538E #8E2389 #8E5E23
square
#238E28 #23538E #8E2389 #8E5E23
split-complementary
#238E28 #5E238E #8E2353
monochromatic
#0B2C0C #175D1A #238E28 #2FBF36 #56D55C
Accessibility & contrast
On white
4.22
#238E28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#238E28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238E28
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238E28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238E28 | 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)
#918018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #238e28; /* rgb */ color: rgb(35, 142, 40); /* oklch */ color: oklch(56.7% 0.168 143.5);
Tailwind
colors: {
custom: {
50: '#70b068',
500: '#238e28',
950: '#000000',
},
}SCSS
$custom: #238e28; $custom-light: #70b068; $custom-dark: #000000;
JSON
{
"hex": "#238e28",
"rgb": {
"r": 35,
"g": 142,
"b": 40
},
"hsl": {
"h": 122.804,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.56697,
"c": 0.16821,
"h": 143.5
},
"luminance": 0.19857
}Semantic roles & 50–950 ramp
primary
#238E28
secondary
#B953B5
accent
#44DCE4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A