#1F580F#1F580F
#1F580F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.119 H 139.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1F580F |
|---|---|
| RGB | rgb(31, 88, 15) |
| HSL | hsl(107, 71%, 20%) |
| HSV | hsv(107, 83%, 35%) |
| CMYK | cmyk(64.8%, 0%, 83%, 65.5%) |
| CIE-LAB | lab(32.49, -33.08, 34.18) |
| CIE-LCH | lch(32.49, 47.56, 134.06°) |
| OKLab | oklab(40.71% -0.0908 0.0764) |
| OKLCH | oklch(40.71% 0.119 139.9) |
| XYZ | xyz(4.1408, 7.3049, 1.6436) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.93
Deep Green
#02590F
ΔE00 2.42
Forest Green
#2D5A27
ΔE00 4.28
Bottle Green
#044A05
ΔE00 4.73
Darkgreen
#006400
ΔE00 4.87
Navy Green
#35530A
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F580F #480F58
analogous
#44580F #1F580F #0F5823
triadic
#1F580F #0F1F58 #580F1F
tetradic
#1F580F #0F4458 #480F58 #58230F
square
#1F580F #0F4458 #480F58 #58230F
split-complementary
#1F580F #230F58 #580F44
monochromatic
#091A04 #0D2406 #1F580F #318C18 #44C121
Accessibility & contrast
On white
8.53
#1F580F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1F580F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F580F
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F580F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F580F | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B4F01
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#18554A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f580f; /* rgb */ color: rgb(31, 88, 15); /* oklch */ color: oklch(40.7% 0.119 139.9);
Tailwind
colors: {
custom: {
50: '#638854',
500: '#1f580f',
950: '#000000',
},
}SCSS
$custom: #1f580f; $custom-light: #638854; $custom-dark: #000000;
JSON
{
"hex": "#1f580f",
"rgb": {
"r": 31,
"g": 88,
"b": 15
},
"hsl": {
"h": 106.849,
"s": 70.874,
"l": 20.196
},
"oklch": {
"l": 0.40711,
"c": 0.11872,
"h": 139.9
},
"luminance": 0.07305
}Semantic roles & 50–950 ramp
primary
#1F580F
secondary
#7D3192
accent
#3AEEC6
background
#F6F8F5
surface
#EBF0E8
border
#C6CBC4
text
#060B03
muted
#7A7C78