#1F6718#1F6718
#1F6718 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.132 H 141.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6718 |
|---|---|
| RGB | rgb(31, 103, 24) |
| HSL | hsl(115, 62%, 25%) |
| HSV | hsv(115, 77%, 40%) |
| CMYK | cmyk(69.9%, 0%, 76.7%, 59.6%) |
| CIE-LAB | lab(37.94, -38.19, 36.08) |
| CIE-LCH | lch(37.94, 52.54, 136.63°) |
| OKLab | oklab(45.25% -0.1041 0.0818) |
| OKLCH | oklch(45.25% 0.132 141.8) |
| XYZ | xyz(5.5799, 10.0572, 2.5111) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.65
Deep Green
#02590F
ΔE00 4.82
Forest
#0B5509
ΔE00 5.83
Forest Green
#2D5A27
ΔE00 6.30
Darkish Green
#287C37
ΔE00 7.72
Pine
#2B5D34
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6718 #601867
analogous
#466718 #1F6718 #186739
triadic
#1F6718 #181F67 #67181F
tetradic
#1F6718 #184667 #601867 #673918
square
#1F6718 #184667 #601867 #673918
split-complementary
#1F6718 #391867 #671846
monochromatic
#071906 #10350C #1F6718 #2E9924 #3DCA2F
Accessibility & contrast
On white
6.97
#1F6718 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#1F6718 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6718
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6718 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#106458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f6718; /* rgb */ color: rgb(31, 103, 24); /* oklch */ color: oklch(45.2% 0.132 141.8);
Tailwind
colors: {
custom: {
50: '#66935a',
500: '#1f6718',
950: '#000000',
},
}SCSS
$custom: #1f6718; $custom-light: #66935a; $custom-dark: #000000;
JSON
{
"hex": "#1f6718",
"rgb": {
"r": 31,
"g": 103,
"b": 24
},
"hsl": {
"h": 114.684,
"s": 62.205,
"l": 24.902
},
"oklch": {
"l": 0.45245,
"c": 0.13239,
"h": 141.8
},
"luminance": 0.10058
}Semantic roles & 50–950 ramp
primary
#1F6718
secondary
#953E9D
accent
#43E5D7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79