#1F5F12#1F5F12
#1F5F12 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.8% C 0.126 H 140.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5F12 |
|---|---|
| RGB | rgb(31, 95, 18) |
| HSL | hsl(110, 68%, 22%) |
| HSV | hsv(110, 81%, 37%) |
| CMYK | cmyk(67.4%, 0%, 81.1%, 62.7%) |
| CIE-LAB | lab(35.04, -35.62, 35.54) |
| CIE-LCH | lch(35.04, 50.32, 135.07°) |
| OKLab | oklab(42.83% -0.0975 0.0798) |
| OKLCH | oklch(42.83% 0.126 140.7) |
| XYZ | xyz(4.7662, 8.5189, 1.9653) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.85
Darkgreen
#006400
ΔE00 3.04
Forest
#0B5509
ΔE00 3.44
Forest Green
#2D5A27
ΔE00 4.89
Navy Green
#35530A
ΔE00 6.28
Bottle Green
#044A05
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5F12 #52125F
analogous
#465F12 #1F5F12 #125F2C
triadic
#1F5F12 #121F5F #5F121F
tetradic
#1F5F12 #12465F #52125F #5F2C12
square
#1F5F12 #12465F #52125F #5F2C12
split-complementary
#1F5F12 #2C125F #5F1246
monochromatic
#081A05 #0E2C08 #1F5F12 #30921C #41C625
Accessibility & contrast
On white
7.77
#1F5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#1F5F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5F12
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5F12 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#155C50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f5f12; /* rgb */ color: rgb(31, 95, 18); /* oklch */ color: oklch(42.8% 0.126 140.7);
Tailwind
colors: {
custom: {
50: '#648d56',
500: '#1f5f12',
950: '#000000',
},
}SCSS
$custom: #1f5f12; $custom-light: #648d56; $custom-dark: #000000;
JSON
{
"hex": "#1f5f12",
"rgb": {
"r": 31,
"g": 95,
"b": 18
},
"hsl": {
"h": 109.87,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42827,
"c": 0.12598,
"h": 140.7
},
"luminance": 0.08519
}Semantic roles & 50–950 ramp
primary
#1F5F12
secondary
#873697
accent
#3DEBCE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78