#1F5C0F#1F5C0F
#1F5C0F is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.9% C 0.124 H 140.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5C0F |
|---|---|
| RGB | rgb(31, 92, 15) |
| HSL | hsl(108, 72%, 21%) |
| HSV | hsv(108, 84%, 36%) |
| CMYK | cmyk(66.3%, 0%, 83.7%, 63.9%) |
| CIE-LAB | lab(33.94, -34.67, 35.57) |
| CIE-LCH | lch(33.94, 49.67, 134.26°) |
| OKLab | oklab(41.91% -0.0951 0.0794) |
| OKLCH | oklch(41.91% 0.124 140.2) |
| XYZ | xyz(4.4782, 7.9797, 1.7561) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.51
Forest
#0B5509
ΔE00 2.69
Darkgreen
#006400
ΔE00 3.66
Forest Green
#2D5A27
ΔE00 4.71
Navy Green
#35530A
ΔE00 5.58
Bottle Green
#044A05
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5C0F #4C0F5C
analogous
#455C0F #1F5C0F #0F5C25
triadic
#1F5C0F #0F1F5C #5C0F1F
tetradic
#1F5C0F #0F455C #4C0F5C #5C250F
square
#1F5C0F #0F455C #4C0F5C #5C250F
split-complementary
#1F5C0F #250F5C #5C0F45
monochromatic
#091A04 #0D2706 #1F5C0F #319118 #42C520
Accessibility & contrast
On white
8.09
#1F5C0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#1F5C0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5C0F
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5C0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5C0F | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#16594E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f5c0f; /* rgb */ color: rgb(31, 92, 15); /* oklch */ color: oklch(41.9% 0.124 140.2);
Tailwind
colors: {
custom: {
50: '#648b54',
500: '#1f5c0f',
950: '#000000',
},
}SCSS
$custom: #1f5c0f; $custom-light: #648b54; $custom-dark: #000000;
JSON
{
"hex": "#1f5c0f",
"rgb": {
"r": 31,
"g": 92,
"b": 15
},
"hsl": {
"h": 107.532,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.4191,
"c": 0.12388,
"h": 140.2
},
"luminance": 0.0798
}Semantic roles & 50–950 ramp
primary
#1F5C0F
secondary
#813195
accent
#39EFC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78