#237A1C#237A1C
#237A1C is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.152 H 142.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #237A1C |
|---|---|
| RGB | rgb(35, 122, 28) |
| HSL | hsl(116, 63%, 29%) |
| HSV | hsv(116, 77%, 48%) |
| CMYK | cmyk(71.3%, 0%, 77%, 52.2%) |
| CIE-LAB | lab(44.74, -43.97, 41.41) |
| CIE-LCH | lch(44.74, 60.40, 136.72°) |
| OKLab | oklab(50.92% -0.1198 0.0935) |
| OKLCH | oklch(50.92% 0.152 142) |
| XYZ | xyz(7.8618, 14.3594, 3.4557) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.76
Green
#008000
ΔE00 3.23
Darkish Green
#287C37
ΔE00 4.22
Dark Grass Green
#388004
ΔE00 4.42
Forestgreen (CSS)
#228B22
ΔE00 6.02
Jungle Green
#048243
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#237A1C #731C7A
analogous
#527A1C #237A1C #1C7A44
triadic
#237A1C #1C237A #7A1C23
tetradic
#237A1C #1C527A #731C7A #7A441C
square
#237A1C #1C527A #731C7A #7A441C
split-complementary
#237A1C #441C7A #7A1C52
monochromatic
#071906 #154811 #237A1C #31AC27 #49D33E
Accessibility & contrast
On white
5.42
#237A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#237A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #237A1C
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##237A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##237A1C | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#0D7668
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #237a1c; /* rgb */ color: rgb(35, 122, 28); /* oklch */ color: oklch(50.9% 0.152 142.0);
Tailwind
colors: {
custom: {
50: '#6ca15f',
500: '#237a1c',
950: '#000000',
},
}SCSS
$custom: #237a1c; $custom-light: #6ca15f; $custom-dark: #000000;
JSON
{
"hex": "#237a1c",
"rgb": {
"r": 35,
"g": 122,
"b": 28
},
"hsl": {
"h": 115.532,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.5092,
"c": 0.15191,
"h": 142
},
"luminance": 0.1436
}Semantic roles & 50–950 ramp
primary
#237A1C
secondary
#A644AE
accent
#42E6DA
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79