#1F6814#1F6814
#1F6814 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.136 H 141.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6814 |
|---|---|
| RGB | rgb(31, 104, 20) |
| HSL | hsl(112, 68%, 24%) |
| HSV | hsv(112, 81%, 41%) |
| CMYK | cmyk(70.2%, 0%, 80.8%, 59.2%) |
| CIE-LAB | lab(38.27, -38.90, 37.96) |
| CIE-LCH | lch(38.27, 54.35, 135.70°) |
| OKLab | oklab(45.51% -0.1062 0.0851) |
| OKLCH | oklch(45.51% 0.136 141.3) |
| XYZ | xyz(5.6414, 10.2419, 2.3413) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.42
Deep Green
#02590F
ΔE00 5.26
Forest
#0B5509
ΔE00 6.21
Forest Green
#2D5A27
ΔE00 6.92
Tree Green
#2A7E19
ΔE00 7.62
Darkish Green
#287C37
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6814 #5D1468
analogous
#496814 #1F6814 #146833
triadic
#1F6814 #141F68 #68141F
tetradic
#1F6814 #144968 #5D1468 #683314
square
#1F6814 #144968 #5D1468 #683314
split-complementary
#1F6814 #331468 #681449
monochromatic
#081A05 #10350A #1F6814 #2E9B1E #3ECF28
Accessibility & contrast
On white
6.89
#1F6814 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#1F6814 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6814
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6814 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6814 | 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)
#6B5E02
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#106558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f6814; /* rgb */ color: rgb(31, 104, 20); /* oklch */ color: oklch(45.5% 0.136 141.3);
Tailwind
colors: {
custom: {
50: '#669459',
500: '#1f6814',
950: '#000000',
},
}SCSS
$custom: #1f6814; $custom-light: #669459; $custom-dark: #000000;
JSON
{
"hex": "#1f6814",
"rgb": {
"r": 31,
"g": 104,
"b": 20
},
"hsl": {
"h": 112.143,
"s": 67.742,
"l": 24.314
},
"oklch": {
"l": 0.45508,
"c": 0.13613,
"h": 141.3
},
"luminance": 0.10242
}Semantic roles & 50–950 ramp
primary
#1F6814
secondary
#92399F
accent
#3DEBD4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79