#1F6816#1F6816
#1F6816 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.135 H 141.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6816 |
|---|---|
| RGB | rgb(31, 104, 22) |
| HSL | hsl(113, 65%, 25%) |
| HSV | hsv(113, 79%, 41%) |
| CMYK | cmyk(70.2%, 0%, 78.8%, 59.2%) |
| CIE-LAB | lab(38.29, -38.74, 37.22) |
| CIE-LCH | lch(38.29, 53.72, 136.15°) |
| OKLab | oklab(45.52% -0.1057 0.0839) |
| OKLCH | oklch(45.52% 0.135 141.6) |
| XYZ | xyz(5.6599, 10.2493, 2.4389) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.55
Deep Green
#02590F
ΔE00 5.19
Forest
#0B5509
ΔE00 6.17
Forest Green
#2D5A27
ΔE00 6.76
Darkish Green
#287C37
ΔE00 7.58
Tree Green
#2A7E19
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6816 #5F1668
analogous
#486816 #1F6816 #166836
triadic
#1F6816 #161F68 #68161F
tetradic
#1F6816 #164868 #5F1668 #683616
square
#1F6816 #164868 #5F1668 #683616
split-complementary
#1F6816 #361668 #681648
monochromatic
#081905 #10350B #1F6816 #2E9B21 #3DCD2B
Accessibility & contrast
On white
6.89
#1F6816 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#1F6816 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6816
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6816 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6816 | 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)
#6B5E06
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#106558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f6816; /* rgb */ color: rgb(31, 104, 22); /* oklch */ color: oklch(45.5% 0.135 141.6);
Tailwind
colors: {
custom: {
50: '#66945a',
500: '#1f6816',
950: '#000000',
},
}SCSS
$custom: #1f6816; $custom-light: #66945a; $custom-dark: #000000;
JSON
{
"hex": "#1f6816",
"rgb": {
"r": 31,
"g": 104,
"b": 22
},
"hsl": {
"h": 113.415,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45523,
"c": 0.13494,
"h": 141.6
},
"luminance": 0.1025
}Semantic roles & 50–950 ramp
primary
#1F6816
secondary
#943B9F
accent
#40E8D6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79