#238E1C#238E1C
#238E1C is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.175 H 142.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #238E1C |
|---|---|
| RGB | rgb(35, 142, 28) |
| HSL | hsl(116, 67%, 33%) |
| HSV | hsv(116, 80%, 56%) |
| CMYK | cmyk(75.4%, 0%, 80.3%, 44.3%) |
| CIE-LAB | lab(51.59, -50.87, 48.12) |
| CIE-LCH | lch(51.59, 70.02, 136.59°) |
| OKLab | oklab(56.61% -0.1384 0.1074) |
| OKLCH | oklch(56.61% 0.175 142.2) |
| XYZ | xyz(10.5751, 19.7860, 4.3601) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.35
Forestgreen (CSS)
#228B22
ΔE00 1.38
True Green
#089404
ΔE00 2.61
Irish Green
#019529
ΔE00 2.93
Kelley Green
#009337
ΔE00 4.11
Green
#008000
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238E1C #871C8E
analogous
#5C8E1C #238E1C #1C8E4E
triadic
#238E1C #1C238E #8E1C23
tetradic
#238E1C #1C5C8E #871C8E #8E4E1C
square
#238E1C #1C5C8E #871C8E #8E4E1C
split-complementary
#238E1C #4E1C8E #8E1C5C
monochromatic
#0A2808 #165B12 #238E1C #30C126 #52DB49
Accessibility & contrast
On white
4.24
#238E1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#238E1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238E1C
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238E1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238E1C | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #238e1c; /* rgb */ color: rgb(35, 142, 28); /* oklch */ color: oklch(56.6% 0.175 142.2);
Tailwind
colors: {
custom: {
50: '#71b062',
500: '#238e1c',
950: '#000000',
},
}SCSS
$custom: #238e1c; $custom-light: #71b062; $custom-dark: #000000;
JSON
{
"hex": "#238e1c",
"rgb": {
"r": 35,
"g": 142,
"b": 28
},
"hsl": {
"h": 116.316,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.56606,
"c": 0.17523,
"h": 142.2
},
"luminance": 0.19787
}Semantic roles & 50–950 ramp
primary
#238E1C
secondary
#B649BD
accent
#3EEADF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A