#1F6712#1F6712
#1F6712 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.136 H 141.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6712 |
|---|---|
| RGB | rgb(31, 103, 18) |
| HSL | hsl(111, 70%, 24%) |
| HSV | hsv(111, 83%, 40%) |
| CMYK | cmyk(69.9%, 0%, 82.5%, 59.6%) |
| CIE-LAB | lab(37.91, -38.67, 38.32) |
| CIE-LCH | lch(37.91, 54.44, 135.26°) |
| OKLab | oklab(45.2% -0.1057 0.0856) |
| OKLCH | oklch(45.2% 0.136 141) |
| XYZ | xyz(5.5242, 10.0349, 2.2180) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.20
Deep Green
#02590F
ΔE00 5.03
Forest
#0B5509
ΔE00 5.92
Forest Green
#2D5A27
ΔE00 6.81
Tree Green
#2A7E19
ΔE00 7.91
Darkish Green
#287C37
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6712 #5A1267
analogous
#496712 #1F6712 #12672F
triadic
#1F6712 #121F67 #67121F
tetradic
#1F6712 #124967 #5A1267 #672F12
square
#1F6712 #124967 #5A1267 #672F12
split-complementary
#1F6712 #2F1267 #671249
monochromatic
#081A05 #0F3309 #1F6712 #2F9B1B #3ECF24
Accessibility & contrast
On white
6.98
#1F6712 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#1F6712 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6712
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6712 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#116357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f6712; /* rgb */ color: rgb(31, 103, 18); /* oklch */ color: oklch(45.2% 0.136 141.0);
Tailwind
colors: {
custom: {
50: '#669357',
500: '#1f6712',
950: '#000000',
},
}SCSS
$custom: #1f6712; $custom-light: #669357; $custom-dark: #000000;
JSON
{
"hex": "#1f6712",
"rgb": {
"r": 31,
"g": 103,
"b": 18
},
"hsl": {
"h": 110.824,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.45199,
"c": 0.13601,
"h": 141
},
"luminance": 0.10035
}Semantic roles & 50–950 ramp
primary
#1F6712
secondary
#8F369F
accent
#3BEDD2
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78