#1F6018#1F6018
#1F6018 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.2% C 0.123 H 141.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6018 |
|---|---|
| RGB | rgb(31, 96, 24) |
| HSL | hsl(114, 60%, 24%) |
| HSV | hsv(114, 75%, 38%) |
| CMYK | cmyk(67.7%, 0%, 75%, 62.4%) |
| CIE-LAB | lab(35.44, -35.49, 33.50) |
| CIE-LCH | lch(35.44, 48.81, 136.65°) |
| OKLab | oklab(43.18% -0.0968 0.0764) |
| OKLCH | oklch(43.18% 0.123 141.7) |
| XYZ | xyz(4.9126, 8.7225, 2.2887) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.89
Darkgreen
#006400
ΔE00 3.39
Forest
#0B5509
ΔE00 3.72
Forest Green
#2D5A27
ΔE00 4.42
Pine
#2B5D34
ΔE00 6.60
Navy Green
#35530A
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6018 #591860
analogous
#436018 #1F6018 #186035
triadic
#1F6018 #181F60 #60181F
tetradic
#1F6018 #184360 #591860 #603518
square
#1F6018 #184360 #591860 #603518
split-complementary
#1F6018 #351860 #601843
monochromatic
#081806 #0F2F0C #1F6018 #2F9124 #3FC230
Accessibility & contrast
On white
7.65
#1F6018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#1F6018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F6018
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6018 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62570D
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#135D52
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #1f6018; /* rgb */ color: rgb(31, 96, 24); /* oklch */ color: oklch(43.2% 0.123 141.7);
Tailwind
colors: {
custom: {
50: '#648e59',
500: '#1f6018',
950: '#000000',
},
}SCSS
$custom: #1f6018; $custom-light: #648e59; $custom-dark: #000000;
JSON
{
"hex": "#1f6018",
"rgb": {
"r": 31,
"g": 96,
"b": 24
},
"hsl": {
"h": 114.167,
"s": 60,
"l": 23.529
},
"oklch": {
"l": 0.43175,
"c": 0.12332,
"h": 141.7
},
"luminance": 0.08723
}Semantic roles & 50–950 ramp
primary
#1F6018
secondary
#8E3D96
accent
#45E3D4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79