#237C40#237C40
#237C40 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.124 H 150.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #237C40 |
|---|---|
| RGB | rgb(35, 124, 64) |
| HSL | hsl(140, 56%, 31%) |
| HSV | hsv(140, 72%, 49%) |
| CMYK | cmyk(71.8%, 0%, 48.4%, 51.4%) |
| CIE-LAB | lab(45.83, -40.09, 25.32) |
| CIE-LCH | lch(45.83, 47.41, 147.72°) |
| OKLab | oklab(51.94% -0.108 0.062) |
| OKLCH | oklch(51.94% 0.124 150.1) |
| XYZ | xyz(8.8255, 15.1418, 7.3070) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.09
Jungle Green
#048243
ΔE00 2.48
Sea Green
#2E8B57
ΔE00 6.18
Dark Sea Green
#11875D
ΔE00 6.82
Tree Green
#2A7E19
ΔE00 7.10
Dark Sage
#598556
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#237C40 #7C235F
analogous
#327C23 #237C40 #237C6C
triadic
#237C40 #40237C #7C4023
tetradic
#237C40 #23327C #7C235F #7C6C23
square
#237C40 #23327C #7C235F #7C6C23
split-complementary
#237C40 #6C237C #7C2332
monochromatic
#081D0F #164C27 #237C40 #30AC59 #4DCD76
Accessibility & contrast
On white
5.21
#237C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#237C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #237C40
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##237C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##237C40 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D713B
Deuteranopia (green-blind)
#726944
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #237c40; /* rgb */ color: rgb(35, 124, 64); /* oklch */ color: oklch(51.9% 0.124 150.1);
Tailwind
colors: {
custom: {
50: '#6ba376',
500: '#237c40',
950: '#000000',
},
}SCSS
$custom: #237c40; $custom-light: #6ba376; $custom-dark: #000000;
JSON
{
"hex": "#237c40",
"rgb": {
"r": 35,
"g": 124,
"b": 64
},
"hsl": {
"h": 139.551,
"s": 55.975,
"l": 31.176
},
"oklch": {
"l": 0.51944,
"c": 0.12449,
"h": 150.1
},
"luminance": 0.15143
}Semantic roles & 50–950 ramp
primary
#237C40
secondary
#AF4C8F
accent
#49AEDF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B