#237F42#237F42
#237F42 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.127 H 150.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #237F42 |
|---|---|
| RGB | rgb(35, 127, 66) |
| HSL | hsl(140, 57%, 32%) |
| HSV | hsv(140, 72%, 50%) |
| CMYK | cmyk(72.4%, 0%, 48%, 50.2%) |
| CIE-LAB | lab(46.88, -40.92, 25.57) |
| CIE-LCH | lch(46.88, 48.25, 148.00°) |
| OKLab | oklab(52.82% -0.1102 0.0626) |
| OKLCH | oklch(52.82% 0.127 150.4) |
| XYZ | xyz(9.2651, 15.9284, 7.7394) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.71
Darkish Green
#287C37
ΔE00 2.34
Sea Green
#2E8B57
ΔE00 5.26
Dark Sea Green
#11875D
ΔE00 6.28
Tree Green
#2A7E19
ΔE00 7.07
Dark Sage
#598556
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#237F42 #7F2360
analogous
#327F23 #237F42 #237F70
triadic
#237F42 #42237F #7F4223
tetradic
#237F42 #23327F #7F2360 #7F7023
square
#237F42 #23327F #7F2360 #7F7023
split-complementary
#237F42 #70237F #7F2332
monochromatic
#091F10 #164F29 #237F42 #30AF5B #4ECE79
Accessibility & contrast
On white
5.02
#237F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#237F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #237F42
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##237F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##237F42 | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #237f42; /* rgb */ color: rgb(35, 127, 66); /* oklch */ color: oklch(52.8% 0.127 150.4);
Tailwind
colors: {
custom: {
50: '#6ba577',
500: '#237f42',
950: '#000000',
},
}SCSS
$custom: #237f42; $custom-light: #6ba577; $custom-dark: #000000;
JSON
{
"hex": "#237f42",
"rgb": {
"r": 35,
"g": 127,
"b": 66
},
"hsl": {
"h": 140.217,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.52823,
"c": 0.12674,
"h": 150.4
},
"luminance": 0.15929
}Semantic roles & 50–950 ramp
primary
#237F42
secondary
#B14C8F
accent
#48ADE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B