#238E2C#238E2C
#238E2C is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.165 H 144.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #238E2C |
|---|---|
| RGB | rgb(35, 142, 44) |
| HSL | hsl(125, 60%, 35%) |
| HSV | hsv(125, 75%, 56%) |
| CMYK | cmyk(75.4%, 0%, 69%, 44.3%) |
| CIE-LAB | lab(51.71, -49.51, 42.14) |
| CIE-LCH | lch(51.71, 65.01, 139.60°) |
| OKLab | oklab(56.73% -0.134 0.0971) |
| OKLCH | oklch(56.73% 0.165 144.1) |
| XYZ | xyz(10.8201, 19.8839, 5.6501) |
| Luminance | 0.1988 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.51
Emerald Green
#028F1E
ΔE00 1.77
Irish Green
#019529
ΔE00 2.57
Kelley Green
#009337
ΔE00 2.58
True Green
#089404
ΔE00 4.04
Fern Green
#548D44
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238E2C #8E2385
analogous
#4F8E23 #238E2C #238E62
triadic
#238E2C #2C238E #8E2C23
tetradic
#238E2C #234F8E #8E2385 #8E6223
square
#238E2C #234F8E #8E2385 #8E6223
split-complementary
#238E2C #62238E #8E234F
monochromatic
#0B2C0E #175D1D #238E2C #2FBF3B #56D561
Accessibility & contrast
On white
4.22
#238E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#238E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238E2C
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238E2C | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91801F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #238e2c; /* rgb */ color: rgb(35, 142, 44); /* oklch */ color: oklch(56.7% 0.165 144.1);
Tailwind
colors: {
custom: {
50: '#70b06a',
500: '#238e2c',
950: '#000000',
},
}SCSS
$custom: #238e2c; $custom-light: #70b06a; $custom-dark: #000000;
JSON
{
"hex": "#238e2c",
"rgb": {
"r": 35,
"g": 142,
"b": 44
},
"hsl": {
"h": 125.047,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.56734,
"c": 0.16543,
"h": 144.1
},
"luminance": 0.19885
}Semantic roles & 50–950 ramp
primary
#238E2C
secondary
#B953B1
accent
#44D6E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A