#1F6813#1F6813
#1F6813 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.137 H 141.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6813 |
|---|---|
| RGB | rgb(31, 104, 19) |
| HSL | hsl(112, 69%, 24%) |
| HSV | hsv(112, 82%, 41%) |
| CMYK | cmyk(70.2%, 0%, 81.7%, 59.2%) |
| CIE-LAB | lab(38.27, -38.97, 38.31) |
| CIE-LCH | lch(38.27, 54.65, 135.49°) |
| OKLab | oklab(45.5% -0.1065 0.0857) |
| OKLCH | oklch(45.5% 0.137 141.2) |
| XYZ | xyz(5.6326, 10.2384, 2.2953) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.36
Deep Green
#02590F
ΔE00 5.30
Forest
#0B5509
ΔE00 6.23
Forest Green
#2D5A27
ΔE00 7.00
Tree Green
#2A7E19
ΔE00 7.60
Darkish Green
#287C37
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6813 #5C1368
analogous
#4A6813 #1F6813 #136832
triadic
#1F6813 #131F68 #68131F
tetradic
#1F6813 #134A68 #5C1368 #683213
square
#1F6813 #134A68 #5C1368 #683213
split-complementary
#1F6813 #321368 #68134A
monochromatic
#081A05 #10340A #1F6813 #2E9C1C #3ECF26
Accessibility & contrast
On white
6.89
#1F6813 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#1F6813 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6813
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6813 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6813 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#116458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f6813; /* rgb */ color: rgb(31, 104, 19); /* oklch */ color: oklch(45.5% 0.137 141.2);
Tailwind
colors: {
custom: {
50: '#669458',
500: '#1f6813',
950: '#000000',
},
}SCSS
$custom: #1f6813; $custom-light: #669458; $custom-dark: #000000;
JSON
{
"hex": "#1f6813",
"rgb": {
"r": 31,
"g": 104,
"b": 19
},
"hsl": {
"h": 111.529,
"s": 69.106,
"l": 24.118
},
"oklch": {
"l": 0.45501,
"c": 0.1367,
"h": 141.2
},
"luminance": 0.10239
}Semantic roles & 50–950 ramp
primary
#1F6813
secondary
#91379F
accent
#3CECD3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79