#1C812F#1C812F
#1C812F is a mid, vivid green. Relative luminance 0.162; OKLCH L 52.9% C 0.149 H 145.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1C812F |
|---|---|
| RGB | rgb(28, 129, 47) |
| HSL | hsl(131, 64%, 31%) |
| HSV | hsv(131, 78%, 51%) |
| CMYK | cmyk(78.3%, 0%, 63.6%, 49.4%) |
| CIE-LAB | lab(47.17, -45.74, 35.71) |
| CIE-LCH | lch(47.17, 58.03, 142.02°) |
| OKLab | oklab(52.94% -0.1233 0.0838) |
| OKLCH | oklch(52.94% 0.149 145.8) |
| XYZ | xyz(8.8416, 16.1516, 5.3404) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.60
Tree Green
#2A7E19
ΔE00 3.59
Jungle Green
#048243
ΔE00 4.15
Forestgreen (CSS)
#228B22
ΔE00 4.60
Green
#008000
ΔE00 4.65
Emerald Green
#028F1E
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C812F #811C6E
analogous
#3B811C #1C812F #1C8161
triadic
#1C812F #2F1C81 #812F1C
tetradic
#1C812F #1C3B81 #811C6E #81611C
square
#1C812F #1C3B81 #811C6E #81611C
split-complementary
#1C812F #611C81 #811C3B
monochromatic
#061C0A #114F1D #1C812F #27B341 #42D65D
Accessibility & contrast
On white
4.96
#1C812F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#1C812F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C812F
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C812F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C812F | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837526
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #1c812f; /* rgb */ color: rgb(28, 129, 47); /* oklch */ color: oklch(52.9% 0.149 145.8);
Tailwind
colors: {
custom: {
50: '#6aa76b',
500: '#1c812f',
950: '#000000',
},
}SCSS
$custom: #1c812f; $custom-light: #6aa76b; $custom-dark: #000000;
JSON
{
"hex": "#1c812f",
"rgb": {
"r": 28,
"g": 129,
"b": 47
},
"hsl": {
"h": 131.287,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.52944,
"c": 0.14906,
"h": 145.8
},
"luminance": 0.16153
}Semantic roles & 50–950 ramp
primary
#1C812F
secondary
#B4449F
accent
#40C8E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A