#237F1C#237F1C
#237F1C is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.158 H 142.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #237F1C |
|---|---|
| RGB | rgb(35, 127, 28) |
| HSL | hsl(116, 64%, 30%) |
| HSV | hsv(116, 78%, 50%) |
| CMYK | cmyk(72.4%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(46.47, -45.75, 43.13) |
| CIE-LCH | lch(46.47, 62.87, 136.69°) |
| OKLab | oklab(52.35% -0.1246 0.097) |
| OKLCH | oklch(52.35% 0.158 142.1) |
| XYZ | xyz(8.4916, 15.6190, 3.6656) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.84
Green
#008000
ΔE00 2.26
Dark Grass Green
#388004
ΔE00 3.57
Forestgreen (CSS)
#228B22
ΔE00 4.26
Darkish Green
#287C37
ΔE00 4.64
Emerald Green
#028F1E
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#237F1C #781C7F
analogous
#547F1C #237F1C #1C7F47
triadic
#237F1C #1C237F #7F1C23
tetradic
#237F1C #1C547F #781C7F #7F471C
square
#237F1C #1C547F #781C7F #7F471C
split-complementary
#237F1C #471C7F #7F1C54
monochromatic
#071B06 #154D11 #237F1C #31B127 #4BD540
Accessibility & contrast
On white
5.09
#237F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#237F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #237F1C
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##237F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##237F1C | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827306
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#097B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #237f1c; /* rgb */ color: rgb(35, 127, 28); /* oklch */ color: oklch(52.4% 0.158 142.1);
Tailwind
colors: {
custom: {
50: '#6da560',
500: '#237f1c',
950: '#000000',
},
}SCSS
$custom: #237f1c; $custom-light: #6da560; $custom-dark: #000000;
JSON
{
"hex": "#237f1c",
"rgb": {
"r": 35,
"g": 127,
"b": 28
},
"hsl": {
"h": 115.758,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.52352,
"c": 0.15791,
"h": 142.1
},
"luminance": 0.1562
}Semantic roles & 50–950 ramp
primary
#237F1C
secondary
#AB44B3
accent
#41E7DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79