#1F7E10#1F7E10
#1F7E10 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.164 H 141.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7E10 |
|---|---|
| RGB | rgb(31, 126, 16) |
| HSL | hsl(112, 77%, 28%) |
| HSV | hsv(112, 87%, 49%) |
| CMYK | cmyk(75.4%, 0%, 87.3%, 50.6%) |
| CIE-LAB | lab(45.97, -46.93, 46.41) |
| CIE-LCH | lch(45.97, 66.00, 135.32°) |
| OKLab | oklab(51.89% -0.1281 0.1022) |
| OKLCH | oklch(51.89% 0.164 141.4) |
| XYZ | xyz(8.1190, 15.2495, 3.0057) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.00
Green
#008000
ΔE00 1.49
Dark Grass Green
#388004
ΔE00 3.06
Forestgreen (CSS)
#228B22
ΔE00 4.74
Darkish Green
#287C37
ΔE00 5.63
Emerald Green
#028F1E
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7E10 #6F107E
analogous
#567E10 #1F7E10 #107E38
triadic
#1F7E10 #101F7E #7E101F
tetradic
#1F7E10 #10567E #6F107E #7E3810
square
#1F7E10 #10567E #6F107E #7E3810
split-complementary
#1F7E10 #38107E #7E1056
monochromatic
#071B03 #124809 #1F7E10 #2CB417 #3FE325
Accessibility & contrast
On white
5.19
#1F7E10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#1F7E10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7E10
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7E10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7E10 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#017A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7e10; /* rgb */ color: rgb(31, 126, 16); /* oklch */ color: oklch(51.9% 0.164 141.4);
Tailwind
colors: {
custom: {
50: '#6ca45b',
500: '#1f7e10',
950: '#000000',
},
}SCSS
$custom: #1f7e10; $custom-light: #6ca45b; $custom-dark: #000000;
JSON
{
"hex": "#1f7e10",
"rgb": {
"r": 31,
"g": 126,
"b": 16
},
"hsl": {
"h": 111.818,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.51894,
"c": 0.16385,
"h": 141.4
},
"luminance": 0.1525
}Semantic roles & 50–950 ramp
primary
#1F7E10
secondary
#A336B4
accent
#34F4DA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79