#238D1F#238D1F
#238D1F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.173 H 142.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #238D1F |
|---|---|
| RGB | rgb(35, 141, 31) |
| HSL | hsl(118, 64%, 34%) |
| HSV | hsv(118, 78%, 55%) |
| CMYK | cmyk(75.2%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.27, -50.32, 46.79) |
| CIE-LCH | lch(51.27, 68.72, 137.08°) |
| OKLab | oklab(56.35% -0.1368 0.1051) |
| OKLCH | oklch(56.35% 0.173 142.5) |
| XYZ | xyz(10.4647, 19.5048, 4.5094) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.87
Emerald Green
#028F1E
ΔE00 1.32
Irish Green
#019529
ΔE00 3.06
True Green
#089404
ΔE00 3.09
Kelley Green
#009337
ΔE00 3.94
Green
#008000
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238D1F #891F8D
analogous
#5A8D1F #238D1F #1F8D52
triadic
#238D1F #1F238D #8D1F23
tetradic
#238D1F #1F5A8D #891F8D #8D521F
square
#238D1F #1F5A8D #891F8D #8D521F
split-complementary
#238D1F #521F8D #8D1F5A
monochromatic
#0A2909 #175B14 #238D1F #2FBF2A #53D84E
Accessibility & contrast
On white
4.28
#238D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#238D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238D1F
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238D1F | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #238d1f; /* rgb */ color: rgb(35, 141, 31); /* oklch */ color: oklch(56.3% 0.173 142.5);
Tailwind
colors: {
custom: {
50: '#70af63',
500: '#238d1f',
950: '#000000',
},
}SCSS
$custom: #238d1f; $custom-light: #70af63; $custom-dark: #000000;
JSON
{
"hex": "#238d1f",
"rgb": {
"r": 35,
"g": 141,
"b": 31
},
"hsl": {
"h": 117.818,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.56345,
"c": 0.17252,
"h": 142.5
},
"luminance": 0.19506
}Semantic roles & 50–950 ramp
primary
#238D1F
secondary
#B74DBB
accent
#41E7E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A