#238C22#238C22
#238C22 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.170 H 142.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #238C22 |
|---|---|
| RGB | rgb(35, 140, 34) |
| HSL | hsl(119, 61%, 34%) |
| HSV | hsv(119, 76%, 55%) |
| CMYK | cmyk(75%, 0%, 75.7%, 45.1%) |
| CIE-LAB | lab(50.95, -49.75, 45.39) |
| CIE-LCH | lch(50.95, 67.34, 137.63°) |
| OKLab | oklab(56.08% -0.1351 0.1026) |
| OKLCH | oklch(56.08% 0.17 142.8) |
| XYZ | xyz(10.3593, 19.2278, 4.6784) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.38
Emerald Green
#028F1E
ΔE00 1.49
Irish Green
#019529
ΔE00 3.25
True Green
#089404
ΔE00 3.60
Kelley Green
#009337
ΔE00 3.82
Green
#008000
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238C22 #8B228C
analogous
#588C22 #238C22 #228C56
triadic
#238C22 #22238C #8C2223
tetradic
#238C22 #22588C #8B228C #8C5622
square
#238C22 #22588C #8B228C #8C5622
split-complementary
#238C22 #56228C #8C2258
monochromatic
#0A2A0A #175B16 #238C22 #2FBD2E #54D553
Accessibility & contrast
On white
4.33
#238C22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#238C22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238C22
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238C22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238C22 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #238c22; /* rgb */ color: rgb(35, 140, 34); /* oklch */ color: oklch(56.1% 0.170 142.8);
Tailwind
colors: {
custom: {
50: '#70af65',
500: '#238c22',
950: '#000000',
},
}SCSS
$custom: #238c22; $custom-light: #70af65; $custom-dark: #000000;
JSON
{
"hex": "#238c22",
"rgb": {
"r": 35,
"g": 140,
"b": 34
},
"hsl": {
"h": 119.434,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.56085,
"c": 0.16964,
"h": 142.8
},
"luminance": 0.19229
}Semantic roles & 50–950 ramp
primary
#238C22
secondary
#B851B9
accent
#44E4E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A