#238F2C#238F2C
#238F2C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.167 H 144.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #238F2C |
|---|---|
| RGB | rgb(35, 143, 44) |
| HSL | hsl(125, 61%, 35%) |
| HSV | hsv(125, 76%, 56%) |
| CMYK | cmyk(75.5%, 0%, 69.2%, 43.9%) |
| CIE-LAB | lab(52.04, -49.85, 42.50) |
| CIE-LCH | lch(52.04, 65.51, 139.55°) |
| OKLab | oklab(57.02% -0.1349 0.0978) |
| OKLCH | oklch(57.02% 0.167 144) |
| XYZ | xyz(10.9695, 20.1828, 5.6999) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.71
Forestgreen (CSS)
#228B22
ΔE00 1.73
Irish Green
#019529
ΔE00 2.26
Kelley Green
#009337
ΔE00 2.43
True Green
#089404
ΔE00 3.81
Fern Green
#548D44
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#238F2C #8F2386
analogous
#508F23 #238F2C #238F62
triadic
#238F2C #2C238F #8F2C23
tetradic
#238F2C #23508F #8F2386 #8F6223
square
#238F2C #23508F #8F2386 #8F6223
split-complementary
#238F2C #62238F #8F2350
monochromatic
#0B2D0E #175E1D #238F2C #2FC03B #57D661
Accessibility & contrast
On white
4.17
#238F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#238F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #238F2C
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##238F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##238F2C | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #238f2c; /* rgb */ color: rgb(35, 143, 44); /* oklch */ color: oklch(57.0% 0.167 144.0);
Tailwind
colors: {
custom: {
50: '#70b16a',
500: '#238f2c',
950: '#000000',
},
}SCSS
$custom: #238f2c; $custom-light: #70b16a; $custom-dark: #000000;
JSON
{
"hex": "#238f2c",
"rgb": {
"r": 35,
"g": 143,
"b": 44
},
"hsl": {
"h": 125,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.57015,
"c": 0.16665,
"h": 144
},
"luminance": 0.20184
}Semantic roles & 50–950 ramp
primary
#238F2C
secondary
#BA54B1
accent
#44D6E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A