#237F2F#237F2F
#237F2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.144 H 145.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #237F2F |
|---|---|
| RGB | rgb(35, 127, 47) |
| HSL | hsl(128, 57%, 32%) |
| HSV | hsv(128, 72%, 50%) |
| CMYK | cmyk(72.4%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(46.63, -43.81, 35.13) |
| CIE-LCH | lch(46.63, 56.16, 141.28°) |
| OKLab | oklab(52.54% -0.1184 0.0825) |
| OKLCH | oklch(52.54% 0.144 145.1) |
| XYZ | xyz(8.7950, 15.7403, 5.2635) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.04
Tree Green
#2A7E19
ΔE00 3.39
Jungle Green
#048243
ΔE00 4.32
Green
#008000
ΔE00 4.78
Forestgreen (CSS)
#228B22
ΔE00 5.14
Dark Grass Green
#388004
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#237F2F #7F2373
analogous
#457F23 #237F2F #237F5D
triadic
#237F2F #2F237F #7F2F23
tetradic
#237F2F #23457F #7F2373 #7F5D23
square
#237F2F #23457F #7F2373 #7F5D23
split-complementary
#237F2F #5D237F #7F2345
monochromatic
#091F0B #164F1D #237F2F #30AF41 #4ECE5F
Accessibility & contrast
On white
5.06
#237F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#237F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #237F2F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##237F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##237F2F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #237f2f; /* rgb */ color: rgb(35, 127, 47); /* oklch */ color: oklch(52.5% 0.144 145.1);
Tailwind
colors: {
custom: {
50: '#6ca56b',
500: '#237f2f',
950: '#000000',
},
}SCSS
$custom: #237f2f; $custom-light: #6ca56b; $custom-dark: #000000;
JSON
{
"hex": "#237f2f",
"rgb": {
"r": 35,
"g": 127,
"b": 47
},
"hsl": {
"h": 127.826,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.52537,
"c": 0.1443,
"h": 145.1
},
"luminance": 0.15741
}Semantic roles & 50–950 ramp
primary
#237F2F
secondary
#B14CA4
accent
#48CCE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A