#238A1F#238A1F
#238A1F is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.169 H 142.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #238A1F |
|---|---|
| RGB | rgb(35, 138, 31) |
| HSL | hsl(118, 63%, 33%) |
| HSV | hsv(118, 78%, 54%) |
| CMYK | cmyk(74.6%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(50.25, -49.31, 45.79) |
| CIE-LCH | lch(50.25, 67.29, 137.12°) |
| OKLab | oklab(55.5% -0.1341 0.103) |
| OKLCH | oklch(55.5% 0.169 142.5) |
| XYZ | xyz(10.0283, 18.6321, 4.3639) |
| Luminance | 0.1863 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.47
Emerald Green
#028F1E
ΔE00 2.00
Irish Green
#019529
ΔE00 3.96
True Green
#089404
ΔE00 4.04
Green
#008000
ΔE00 4.18
Tree Green
#2A7E19
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238A1F #861F8A
analogous
#588A1F #238A1F #1F8A50
triadic
#238A1F #1F238A #8A1F23
tetradic
#238A1F #1F588A #861F8A #8A501F
square
#238A1F #1F588A #861F8A #8A501F
split-complementary
#238A1F #501F8A #8A1F58
monochromatic
#0A2609 #165814 #238A1F #30BC2A #52D74C
Accessibility & contrast
On white
4.44
#238A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#238A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238A1F
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238A1F | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #238a1f; /* rgb */ color: rgb(35, 138, 31); /* oklch */ color: oklch(55.5% 0.169 142.5);
Tailwind
colors: {
custom: {
50: '#70ad63',
500: '#238a1f',
950: '#000000',
},
}SCSS
$custom: #238a1f; $custom-light: #70ad63; $custom-dark: #000000;
JSON
{
"hex": "#238a1f",
"rgb": {
"r": 35,
"g": 138,
"b": 31
},
"hsl": {
"h": 117.757,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.55498,
"c": 0.16907,
"h": 142.5
},
"luminance": 0.18633
}Semantic roles & 50–950 ramp
primary
#238A1F
secondary
#B54BBA
accent
#41E6E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A