#237F3A#237F3A
#237F3A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.134 H 147.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #237F3A |
|---|---|
| RGB | rgb(35, 127, 58) |
| HSL | hsl(135, 57%, 32%) |
| HSV | hsv(135, 72%, 50%) |
| CMYK | cmyk(72.4%, 0%, 54.3%, 50.2%) |
| CIE-LAB | lab(46.76, -42.26, 29.72) |
| CIE-LCH | lch(46.76, 51.66, 144.88°) |
| OKLab | oklab(52.69% -0.1138 0.0716) |
| OKLCH | oklch(52.69% 0.134 147.8) |
| XYZ | xyz(9.0456, 15.8406, 6.5830) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.17
Jungle Green
#048243
ΔE00 2.54
Tree Green
#2A7E19
ΔE00 5.41
Sea Green
#2E8B57
ΔE00 6.32
Forestgreen (CSS)
#228B22
ΔE00 6.53
Green
#008000
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#237F3A #7F2368
analogous
#3A7F23 #237F3A #237F68
triadic
#237F3A #3A237F #7F3A23
tetradic
#237F3A #233A7F #7F2368 #7F6823
square
#237F3A #233A7F #7F2368 #7F6823
split-complementary
#237F3A #68237F #7F233A
monochromatic
#091F0E #164F24 #237F3A #30AF50 #4ECE6E
Accessibility & contrast
On white
5.04
#237F3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#237F3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #237F3A
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##237F3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##237F3A | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807334
Deuteranopia (green-blind)
#756C3F
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #237f3a; /* rgb */ color: rgb(35, 127, 58); /* oklch */ color: oklch(52.7% 0.134 147.8);
Tailwind
colors: {
custom: {
50: '#6ca572',
500: '#237f3a',
950: '#000000',
},
}SCSS
$custom: #237f3a; $custom-light: #6ca572; $custom-dark: #000000;
JSON
{
"hex": "#237f3a",
"rgb": {
"r": 35,
"g": 127,
"b": 58
},
"hsl": {
"h": 135,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.5269,
"c": 0.13445,
"h": 147.8
},
"luminance": 0.15842
}Semantic roles & 50–950 ramp
primary
#237F3A
secondary
#B14C98
accent
#48BAE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B