#1F5E12#1F5E12
#1F5E12 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.5% C 0.125 H 140.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5E12 |
|---|---|
| RGB | rgb(31, 94, 18) |
| HSL | hsl(110, 68%, 22%) |
| HSV | hsv(110, 81%, 37%) |
| CMYK | cmyk(67%, 0%, 80.9%, 63.1%) |
| CIE-LAB | lab(34.68, -35.23, 35.18) |
| CIE-LCH | lch(34.68, 49.79, 135.04°) |
| OKLab | oklab(42.53% -0.0965 0.079) |
| OKLCH | oklch(42.53% 0.125 140.7) |
| XYZ | xyz(4.6767, 8.3399, 1.9355) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.65
Forest
#0B5509
ΔE00 3.15
Darkgreen
#006400
ΔE00 3.30
Forest Green
#2D5A27
ΔE00 4.69
Navy Green
#35530A
ΔE00 6.08
Bottle Green
#044A05
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5E12 #51125E
analogous
#455E12 #1F5E12 #125E2B
triadic
#1F5E12 #121F5E #5E121F
tetradic
#1F5E12 #12455E #51125E #5E2B12
square
#1F5E12 #12455E #51125E #5E2B12
split-complementary
#1F5E12 #2B125E #5E1245
monochromatic
#081A05 #0E2B08 #1F5E12 #30911C #41C526
Accessibility & contrast
On white
7.87
#1F5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#1F5E12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5E12
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5E12 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#155B50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f5e12; /* rgb */ color: rgb(31, 94, 18); /* oklch */ color: oklch(42.5% 0.125 140.7);
Tailwind
colors: {
custom: {
50: '#648c56',
500: '#1f5e12',
950: '#000000',
},
}SCSS
$custom: #1f5e12; $custom-light: #648c56; $custom-dark: #000000;
JSON
{
"hex": "#1f5e12",
"rgb": {
"r": 31,
"g": 94,
"b": 18
},
"hsl": {
"h": 109.737,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42529,
"c": 0.1247,
"h": 140.7
},
"luminance": 0.0834
}Semantic roles & 50–950 ramp
primary
#1F5E12
secondary
#863596
accent
#3DEBCD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78