#1C7F2B#1C7F2B
#1C7F2B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.150 H 145.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7F2B |
|---|---|
| RGB | rgb(28, 127, 43) |
| HSL | hsl(129, 64%, 30%) |
| HSV | hsv(129, 78%, 50%) |
| CMYK | cmyk(78%, 0%, 66.1%, 50.2%) |
| CIE-LAB | lab(46.44, -45.53, 36.78) |
| CIE-LCH | lch(46.44, 58.52, 141.07°) |
| OKLab | oklab(52.33% -0.1229 0.0857) |
| OKLCH | oklch(52.33% 0.15 145.1) |
| XYZ | xyz(8.5037, 15.5990, 4.8478) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.59
Tree Green
#2A7E19
ΔE00 3.04
Green
#008000
ΔE00 4.18
Jungle Green
#048243
ΔE00 4.70
Forestgreen (CSS)
#228B22
ΔE00 4.93
Dark Grass Green
#388004
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7F2B #7F1C70
analogous
#3E7F1C #1C7F2B #1C7F5C
triadic
#1C7F2B #2B1C7F #7F2B1C
tetradic
#1C7F2B #1C3E7F #7F1C70 #7F5C1C
square
#1C7F2B #1C3E7F #7F1C70 #7F5C1C
split-complementary
#1C7F2B #5C1C7F #7F1C3E
monochromatic
#061B09 #114D1A #1C7F2B #27B13C #40D557
Accessibility & contrast
On white
5.10
#1C7F2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#1C7F2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7F2B
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7F2B | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1c7f2b; /* rgb */ color: rgb(28, 127, 43); /* oklch */ color: oklch(52.3% 0.150 145.1);
Tailwind
colors: {
custom: {
50: '#6aa568',
500: '#1c7f2b',
950: '#000000',
},
}SCSS
$custom: #1c7f2b; $custom-light: #6aa568; $custom-dark: #000000;
JSON
{
"hex": "#1c7f2b",
"rgb": {
"r": 28,
"g": 127,
"b": 43
},
"hsl": {
"h": 129.091,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.52326,
"c": 0.14978,
"h": 145.1
},
"luminance": 0.156
}Semantic roles & 50–950 ramp
primary
#1C7F2B
secondary
#B344A2
accent
#41CEE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A