#1C811F#1C811F
#1C811F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.161 H 143.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1C811F |
|---|---|
| RGB | rgb(28, 129, 31) |
| HSL | hsl(122, 64%, 31%) |
| HSV | hsv(122, 78%, 51%) |
| CMYK | cmyk(78.3%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(47.03, -47.44, 42.52) |
| CIE-LCH | lch(47.03, 63.71, 138.13°) |
| OKLab | oklab(52.78% -0.1286 0.0962) |
| OKLCH | oklch(52.78% 0.161 143.2) |
| XYZ | xyz(8.5759, 16.0453, 3.9411) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.71
Green
#008000
ΔE00 2.40
Forestgreen (CSS)
#228B22
ΔE00 3.64
Dark Grass Green
#388004
ΔE00 4.14
Darkish Green
#287C37
ΔE00 4.53
Emerald Green
#028F1E
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C811F #811C7E
analogous
#4B811C #1C811F #1C8151
triadic
#1C811F #1F1C81 #811F1C
tetradic
#1C811F #1C4B81 #811C7E #81511C
square
#1C811F #1C4B81 #811C7E #81511C
split-complementary
#1C811F #511C81 #811C4B
monochromatic
#061C07 #114F13 #1C811F #27B32B #42D646
Accessibility & contrast
On white
4.99
#1C811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#1C811F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C811F
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C811F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C811F | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #1c811f; /* rgb */ color: rgb(28, 129, 31); /* oklch */ color: oklch(52.8% 0.161 143.2);
Tailwind
colors: {
custom: {
50: '#6ba762',
500: '#1c811f',
950: '#000000',
},
}SCSS
$custom: #1c811f; $custom-light: #6ba762; $custom-dark: #000000;
JSON
{
"hex": "#1c811f",
"rgb": {
"r": 28,
"g": 129,
"b": 31
},
"hsl": {
"h": 121.782,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.52784,
"c": 0.16064,
"h": 143.2
},
"luminance": 0.16046
}Semantic roles & 50–950 ramp
primary
#1C811F
secondary
#B444B1
accent
#40E2E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A