#1F5D0F#1F5D0F
#1F5D0F is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.125 H 140.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5D0F |
|---|---|
| RGB | rgb(31, 93, 15) |
| HSL | hsl(108, 72%, 21%) |
| HSV | hsv(108, 84%, 36%) |
| CMYK | cmyk(66.7%, 0%, 83.9%, 63.5%) |
| CIE-LAB | lab(34.30, -35.06, 35.92) |
| CIE-LCH | lch(34.30, 50.20, 134.31°) |
| OKLab | oklab(42.21% -0.0962 0.0801) |
| OKLCH | oklch(42.21% 0.125 140.2) |
| XYZ | xyz(4.5654, 8.1541, 1.7851) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.64
Forest
#0B5509
ΔE00 2.95
Darkgreen
#006400
ΔE00 3.38
Forest Green
#2D5A27
ΔE00 4.86
Navy Green
#35530A
ΔE00 5.77
Bottle Green
#044A05
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5D0F #4D0F5D
analogous
#465D0F #1F5D0F #0F5D26
triadic
#1F5D0F #0F1F5D #5D0F1F
tetradic
#1F5D0F #0F465D #4D0F5D #5D260F
square
#1F5D0F #0F465D #4D0F5D #5D260F
split-complementary
#1F5D0F #260F5D #5D0F46
monochromatic
#091A04 #0D2806 #1F5D0F #319217 #42C620
Accessibility & contrast
On white
7.98
#1F5D0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#1F5D0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5D0F
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5D0F | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#165A4F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f5d0f; /* rgb */ color: rgb(31, 93, 15); /* oklch */ color: oklch(42.2% 0.125 140.2);
Tailwind
colors: {
custom: {
50: '#648c55',
500: '#1f5d0f',
950: '#000000',
},
}SCSS
$custom: #1f5d0f; $custom-light: #648c55; $custom-dark: #000000;
JSON
{
"hex": "#1f5d0f",
"rgb": {
"r": 31,
"g": 93,
"b": 15
},
"hsl": {
"h": 107.692,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.42209,
"c": 0.12516,
"h": 140.2
},
"luminance": 0.08154
}Semantic roles & 50–950 ramp
primary
#1F5D0F
secondary
#823196
accent
#39EFCA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78