#1C7E27#1C7E27
#1C7E27 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.152 H 144.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7E27 |
|---|---|
| RGB | rgb(28, 126, 39) |
| HSL | hsl(127, 64%, 30%) |
| HSV | hsv(127, 78%, 49%) |
| CMYK | cmyk(77.8%, 0%, 69%, 50.6%) |
| CIE-LAB | lab(46.06, -45.63, 38.18) |
| CIE-LCH | lch(46.06, 59.49, 140.08°) |
| OKLab | oklab(52% -0.1233 0.0882) |
| OKLCH | oklch(52% 0.152 144.4) |
| XYZ | xyz(8.3054, 15.3141, 4.4373) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.53
Darkish Green
#287C37
ΔE00 2.97
Green
#008000
ΔE00 3.70
Forestgreen (CSS)
#228B22
ΔE00 5.02
Jungle Green
#048243
ΔE00 5.30
Dark Grass Green
#388004
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7E27 #7E1C73
analogous
#427E1C #1C7E27 #1C7E58
triadic
#1C7E27 #271C7E #7E271C
tetradic
#1C7E27 #1C427E #7E1C73 #7E581C
square
#1C7E27 #1C427E #7E1C73 #7E581C
split-complementary
#1C7E27 #581C7E #7E1C42
monochromatic
#061A08 #114C18 #1C7E27 #27B036 #40D551
Accessibility & contrast
On white
5.17
#1C7E27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#1C7E27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7E27
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7E27 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80721B
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1c7e27; /* rgb */ color: rgb(28, 126, 39); /* oklch */ color: oklch(52.0% 0.152 144.4);
Tailwind
colors: {
custom: {
50: '#6aa466',
500: '#1c7e27',
950: '#000000',
},
}SCSS
$custom: #1c7e27; $custom-light: #6aa466; $custom-dark: #000000;
JSON
{
"hex": "#1c7e27",
"rgb": {
"r": 28,
"g": 126,
"b": 39
},
"hsl": {
"h": 126.735,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.51997,
"c": 0.1516,
"h": 144.4
},
"luminance": 0.15315
}Semantic roles & 50–950 ramp
primary
#1C7E27
secondary
#B244A5
accent
#41D4E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A