#1C842F#1C842F
#1C842F is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.153 H 145.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1C842F |
|---|---|
| RGB | rgb(28, 132, 47) |
| HSL | hsl(131, 65%, 31%) |
| HSV | hsv(131, 79%, 52%) |
| CMYK | cmyk(78.8%, 0%, 64.4%, 48.2%) |
| CIE-LAB | lab(48.20, -46.80, 36.88) |
| CIE-LCH | lch(48.20, 59.59, 141.77°) |
| OKLab | oklab(53.8% -0.1262 0.0863) |
| OKLCH | oklch(53.8% 0.153 145.6) |
| XYZ | xyz(9.2426, 16.9536, 5.4740) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.55
Forestgreen (CSS)
#228B22
ΔE00 3.61
Tree Green
#2A7E19
ΔE00 3.77
Jungle Green
#048243
ΔE00 4.50
Green
#008000
ΔE00 4.60
Emerald Green
#028F1E
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C842F #841C71
analogous
#3D841C #1C842F #1C8463
triadic
#1C842F #2F1C84 #842F1C
tetradic
#1C842F #1C3D84 #841C71 #84631C
square
#1C842F #1C3D84 #841C71 #84631C
split-complementary
#1C842F #631C84 #841C3D
monochromatic
#071F0B #11521D #1C842F #27B641 #43D75E
Accessibility & contrast
On white
4.78
#1C842F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#1C842F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C842F
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C842F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C842F | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#7B6F36
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #1c842f; /* rgb */ color: rgb(28, 132, 47); /* oklch */ color: oklch(53.8% 0.153 145.6);
Tailwind
colors: {
custom: {
50: '#6ba96b',
500: '#1c842f',
950: '#000000',
},
}SCSS
$custom: #1c842f; $custom-light: #6ba96b; $custom-dark: #000000;
JSON
{
"hex": "#1c842f",
"rgb": {
"r": 28,
"g": 132,
"b": 47
},
"hsl": {
"h": 130.962,
"s": 65,
"l": 31.373
},
"oklch": {
"l": 0.53797,
"c": 0.15285,
"h": 145.6
},
"luminance": 0.16955
}Semantic roles & 50–950 ramp
primary
#1C842F
secondary
#B745A2
accent
#40C9E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A