#1C812B#1C812B
#1C812B is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.152 H 145.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1C812B |
|---|---|
| RGB | rgb(28, 129, 43) |
| HSL | hsl(129, 64%, 31%) |
| HSV | hsv(129, 78%, 51%) |
| CMYK | cmyk(78.3%, 0%, 66.7%, 49.4%) |
| CIE-LAB | lab(47.13, -46.23, 37.54) |
| CIE-LCH | lch(47.13, 59.55, 140.92°) |
| OKLab | oklab(52.9% -0.1248 0.0873) |
| OKLCH | oklch(52.9% 0.152 145) |
| XYZ | xyz(8.7646, 16.1208, 4.9347) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.01
Darkish Green
#287C37
ΔE00 3.08
Green
#008000
ΔE00 4.01
Forestgreen (CSS)
#228B22
ΔE00 4.23
Jungle Green
#048243
ΔE00 4.79
Emerald Green
#028F1E
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C812B #811C72
analogous
#3F811C #1C812B #1C815D
triadic
#1C812B #2B1C81 #812B1C
tetradic
#1C812B #1C3F81 #811C72 #815D1C
square
#1C812B #1C3F81 #811C72 #815D1C
split-complementary
#1C812B #5D1C81 #811C3F
monochromatic
#061C09 #114F1A #1C812B #27B33C #42D658
Accessibility & contrast
On white
4.97
#1C812B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#1C812B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C812B
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C812B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C812B | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837520
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #1c812b; /* rgb */ color: rgb(28, 129, 43); /* oklch */ color: oklch(52.9% 0.152 145.0);
Tailwind
colors: {
custom: {
50: '#6aa768',
500: '#1c812b',
950: '#000000',
},
}SCSS
$custom: #1c812b; $custom-light: #6aa768; $custom-dark: #000000;
JSON
{
"hex": "#1c812b",
"rgb": {
"r": 28,
"g": 129,
"b": 43
},
"hsl": {
"h": 128.911,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.52898,
"c": 0.15227,
"h": 145
},
"luminance": 0.16122
}Semantic roles & 50–950 ramp
primary
#1C812B
secondary
#B444A4
accent
#40CFE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A