#237E1B#237E1B
#237E1B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.157 H 142.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #237E1B |
|---|---|
| RGB | rgb(35, 126, 27) |
| HSL | hsl(115, 65%, 30%) |
| HSV | hsv(115, 79%, 49%) |
| CMYK | cmyk(72.2%, 0%, 78.6%, 50.6%) |
| CIE-LAB | lab(46.12, -45.47, 43.15) |
| CIE-LCH | lch(46.12, 62.68, 136.50°) |
| OKLab | oklab(52.06% -0.1239 0.0969) |
| OKLCH | oklch(52.06% 0.157 142) |
| XYZ | xyz(8.3513, 15.3573, 3.5608) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.74
Green
#008000
ΔE00 2.29
Dark Grass Green
#388004
ΔE00 3.59
Forestgreen (CSS)
#228B22
ΔE00 4.61
Darkish Green
#287C37
ΔE00 4.62
Emerald Green
#028F1E
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#237E1B #761B7E
analogous
#547E1B #237E1B #1B7E45
triadic
#237E1B #1B237E #7E1B23
tetradic
#237E1B #1B547E #761B7E #7E451B
square
#237E1B #1B547E #761B7E #7E451B
split-complementary
#237E1B #451B7E #7E1B54
monochromatic
#071905 #154C10 #237E1B #31B026 #4AD63E
Accessibility & contrast
On white
5.16
#237E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#237E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #237E1B
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##237E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##237E1B | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#0A7A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #237e1b; /* rgb */ color: rgb(35, 126, 27); /* oklch */ color: oklch(52.1% 0.157 142.0);
Tailwind
colors: {
custom: {
50: '#6da45f',
500: '#237e1b',
950: '#000000',
},
}SCSS
$custom: #237e1b; $custom-light: #6da45f; $custom-dark: #000000;
JSON
{
"hex": "#237e1b",
"rgb": {
"r": 35,
"g": 126,
"b": 27
},
"hsl": {
"h": 115.152,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.52059,
"c": 0.15729,
"h": 142
},
"luminance": 0.15358
}Semantic roles & 50–950 ramp
primary
#237E1B
secondary
#A943B2
accent
#40E8DA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79