#1C7212#1C7212
#1C7212 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.150 H 141.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7212 |
|---|---|
| RGB | rgb(28, 114, 18) |
| HSL | hsl(114, 73%, 26%) |
| HSV | hsv(114, 84%, 45%) |
| CMYK | cmyk(75.4%, 0%, 84.2%, 55.3%) |
| CIE-LAB | lab(41.73, -43.26, 41.92) |
| CIE-LCH | lch(41.73, 60.24, 135.90°) |
| OKLab | oklab(48.35% -0.1179 0.0931) |
| OKLCH | oklch(48.35% 0.15 141.7) |
| XYZ | xyz(6.6050, 12.3244, 2.6029) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.31
Darkgreen
#006400
ΔE00 4.79
Green
#008000
ΔE00 5.11
Darkish Green
#287C37
ΔE00 5.78
Dark Grass Green
#388004
ΔE00 6.23
Deep Green
#02590F
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7212 #681272
analogous
#4C7212 #1C7212 #127238
triadic
#1C7212 #121C72 #72121C
tetradic
#1C7212 #124C72 #681272 #723812
square
#1C7212 #124C72 #681272 #723812
split-complementary
#1C7212 #381272 #72124C
monochromatic
#061A04 #0F3D0A #1C7212 #29A71A #36DC23
Accessibility & contrast
On white
6.06
#1C7212 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#1C7212 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7212
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7212 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#026E60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1c7212; /* rgb */ color: rgb(28, 114, 18); /* oklch */ color: oklch(48.4% 0.150 141.7);
Tailwind
colors: {
custom: {
50: '#689b59',
500: '#1c7212',
950: '#000000',
},
}SCSS
$custom: #1c7212; $custom-light: #689b59; $custom-dark: #000000;
JSON
{
"hex": "#1c7212",
"rgb": {
"r": 28,
"g": 114,
"b": 18
},
"hsl": {
"h": 113.75,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.4835,
"c": 0.15025,
"h": 141.7
},
"luminance": 0.12325
}Semantic roles & 50–950 ramp
primary
#1C7212
secondary
#9D37A9
accent
#38EFDC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79