#1F6818#1F6818
#1F6818 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.5% C 0.134 H 141.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6818 |
|---|---|
| RGB | rgb(31, 104, 24) |
| HSL | hsl(115, 63%, 25%) |
| HSV | hsv(115, 77%, 41%) |
| CMYK | cmyk(70.2%, 0%, 76.9%, 59.2%) |
| CIE-LAB | lab(38.30, -38.57, 36.44) |
| CIE-LCH | lch(38.30, 53.06, 136.63°) |
| OKLab | oklab(45.54% -0.1051 0.0825) |
| OKLCH | oklch(45.54% 0.134 141.9) |
| XYZ | xyz(5.6799, 10.2573, 2.5445) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.71
Deep Green
#02590F
ΔE00 5.13
Forest
#0B5509
ΔE00 6.15
Forest Green
#2D5A27
ΔE00 6.59
Darkish Green
#287C37
ΔE00 7.46
Tree Green
#2A7E19
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6818 #611868
analogous
#476818 #1F6818 #186839
triadic
#1F6818 #181F68 #68181F
tetradic
#1F6818 #184768 #611868 #683918
square
#1F6818 #184768 #611868 #683918
split-complementary
#1F6818 #391868 #681847
monochromatic
#071906 #10360D #1F6818 #2E9A23 #3DCB2F
Accessibility & contrast
On white
6.88
#1F6818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#1F6818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6818
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6818 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#0F6558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f6818; /* rgb */ color: rgb(31, 104, 24); /* oklch */ color: oklch(45.5% 0.134 141.9);
Tailwind
colors: {
custom: {
50: '#66945b',
500: '#1f6818',
950: '#000000',
},
}SCSS
$custom: #1f6818; $custom-light: #66945b; $custom-dark: #000000;
JSON
{
"hex": "#1f6818",
"rgb": {
"r": 31,
"g": 104,
"b": 24
},
"hsl": {
"h": 114.75,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.4554,
"c": 0.13366,
"h": 141.9
},
"luminance": 0.10258
}Semantic roles & 50–950 ramp
primary
#1F6818
secondary
#963E9E
accent
#42E6D7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79