#1F5915#1F5915
#1F5915 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.116 H 141.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5915 |
|---|---|
| RGB | rgb(31, 89, 21) |
| HSL | hsl(111, 62%, 22%) |
| HSV | hsv(111, 76%, 35%) |
| CMYK | cmyk(65.2%, 0%, 76.4%, 65.1%) |
| CIE-LAB | lab(32.90, -32.98, 32.16) |
| CIE-LCH | lch(32.90, 46.06, 135.72°) |
| OKLab | oklab(41.06% -0.0902 0.0732) |
| OKLCH | oklch(41.06% 0.116 141) |
| XYZ | xyz(4.2726, 7.4898, 1.9298) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.14
Deep Green
#02590F
ΔE00 2.22
Forest Green
#2D5A27
ΔE00 3.57
Bottle Green
#044A05
ΔE00 4.93
Darkgreen
#006400
ΔE00 4.99
Darkgreen (survey)
#054907
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5915 #4F1559
analogous
#415915 #1F5915 #15592D
triadic
#1F5915 #151F59 #59151F
tetradic
#1F5915 #154159 #4F1559 #592D15
square
#1F5915 #154159 #4F1559 #592D15
split-complementary
#1F5915 #2D1559 #591541
monochromatic
#091906 #0E2709 #1F5915 #308B21 #41BC2C
Accessibility & contrast
On white
8.41
#1F5915 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#1F5915 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5915
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5915 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B500A
Deuteranopia (green-blind)
#544C1C
Tritanopia (blue-blind)
#16564C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f5915; /* rgb */ color: rgb(31, 89, 21); /* oklch */ color: oklch(41.1% 0.116 141.0);
Tailwind
colors: {
custom: {
50: '#638857',
500: '#1f5915',
950: '#000000',
},
}SCSS
$custom: #1f5915; $custom-light: #638857; $custom-dark: #000000;
JSON
{
"hex": "#1f5915",
"rgb": {
"r": 31,
"g": 89,
"b": 21
},
"hsl": {
"h": 111.176,
"s": 61.818,
"l": 21.569
},
"oklch": {
"l": 0.41061,
"c": 0.11613,
"h": 141
},
"luminance": 0.0749
}Semantic roles & 50–950 ramp
primary
#1F5915
secondary
#843991
accent
#43E5CD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78