#238F1F#238F1F
#238F1F is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.175 H 142.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #238F1F |
|---|---|
| RGB | rgb(35, 143, 31) |
| HSL | hsl(118, 64%, 34%) |
| HSV | hsv(118, 78%, 56%) |
| CMYK | cmyk(75.5%, 0%, 78.3%, 43.9%) |
| CIE-LAB | lab(51.95, -50.99, 47.46) |
| CIE-LCH | lch(51.95, 69.66, 137.06°) |
| OKLab | oklab(56.91% -0.1386 0.1065) |
| OKLCH | oklch(56.91% 0.175 142.5) |
| XYZ | xyz(10.7623, 20.1000, 4.6085) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.24
Forestgreen (CSS)
#228B22
ΔE00 1.54
True Green
#089404
ΔE00 2.53
Irish Green
#019529
ΔE00 2.54
Kelley Green
#009337
ΔE00 3.76
Grass Green
#3F9B0B
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238F1F #8B1F8F
analogous
#5B8F1F #238F1F #1F8F53
triadic
#238F1F #1F238F #8F1F23
tetradic
#238F1F #1F5B8F #8B1F8F #8F531F
square
#238F1F #1F5B8F #8B1F8F #8F531F
split-complementary
#238F1F #531F8F #8F1F5B
monochromatic
#0A2A09 #175D14 #238F1F #2FC12A #54D94F
Accessibility & contrast
On white
4.18
#238F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#238F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238F1F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238F1F | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #238f1f; /* rgb */ color: rgb(35, 143, 31); /* oklch */ color: oklch(56.9% 0.175 142.5);
Tailwind
colors: {
custom: {
50: '#71b163',
500: '#238f1f',
950: '#000000',
},
}SCSS
$custom: #238f1f; $custom-light: #71b163; $custom-dark: #000000;
JSON
{
"hex": "#238f1f",
"rgb": {
"r": 35,
"g": 143,
"b": 31
},
"hsl": {
"h": 117.857,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.56907,
"c": 0.1748,
"h": 142.5
},
"luminance": 0.20101
}Semantic roles & 50–950 ramp
primary
#238F1F
secondary
#B84EBC
accent
#40E7E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A