#238C23#238C23
#238C23 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.169 H 142.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #238C23 |
|---|---|
| RGB | rgb(35, 140, 35) |
| HSL | hsl(120, 60%, 34%) |
| HSV | hsv(120, 75%, 55%) |
| CMYK | cmyk(75%, 0%, 75%, 45.1%) |
| CIE-LAB | lab(50.96, -49.67, 45.01) |
| CIE-LCH | lch(50.96, 67.03, 137.81°) |
| OKLab | oklab(56.09% -0.1348 0.102) |
| OKLCH | oklch(56.09% 0.169 142.9) |
| XYZ | xyz(10.3740, 19.2337, 4.7555) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.37
Emerald Green
#028F1E
ΔE00 1.51
Irish Green
#019529
ΔE00 3.23
True Green
#089404
ΔE00 3.68
Kelley Green
#009337
ΔE00 3.73
Green
#008000
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238C23 #8C238C
analogous
#588C23 #238C23 #238C58
triadic
#238C23 #23238C #8C2323
tetradic
#238C23 #23588C #8C238C #8C5823
square
#238C23 #23588C #8C238C #8C5823
split-complementary
#238C23 #58238C #8C2358
monochromatic
#0B2A0B #175B17 #238C23 #2FBD2F #55D455
Accessibility & contrast
On white
4.33
#238C23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#238C23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238C23
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238C23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238C23 | 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)
#8F7E10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #238c23; /* rgb */ color: rgb(35, 140, 35); /* oklch */ color: oklch(56.1% 0.169 142.9);
Tailwind
colors: {
custom: {
50: '#70af65',
500: '#238c23',
950: '#000000',
},
}SCSS
$custom: #238c23; $custom-light: #70af65; $custom-dark: #000000;
JSON
{
"hex": "#238c23",
"rgb": {
"r": 35,
"g": 140,
"b": 35
},
"hsl": {
"h": 120,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.56093,
"c": 0.16904,
"h": 142.9
},
"luminance": 0.19235
}Semantic roles & 50–950 ramp
primary
#238C23
secondary
#B852B8
accent
#45E3E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A