#1F6512#1F6512
#1F6512 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.6% C 0.134 H 141.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6512 |
|---|---|
| RGB | rgb(31, 101, 18) |
| HSL | hsl(111, 70%, 23%) |
| HSV | hsv(111, 82%, 40%) |
| CMYK | cmyk(69.3%, 0%, 82.2%, 60.4%) |
| CIE-LAB | lab(37.19, -37.92, 37.63) |
| CIE-LCH | lch(37.19, 53.42, 135.22°) |
| OKLab | oklab(44.61% -0.1037 0.0841) |
| OKLCH | oklch(44.61% 0.134 141) |
| XYZ | xyz(5.3277, 9.6418, 2.1524) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.13
Deep Green
#02590F
ΔE00 4.43
Forest
#0B5509
ΔE00 5.28
Forest Green
#2D5A27
ΔE00 6.29
Navy Green
#35530A
ΔE00 7.70
Pine
#2B5D34
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6512 #581265
analogous
#486512 #1F6512 #12652E
triadic
#1F6512 #121F65 #65121F
tetradic
#1F6512 #124865 #581265 #652E12
square
#1F6512 #124865 #581265 #652E12
split-complementary
#1F6512 #2E1265 #651248
monochromatic
#081A05 #0F3109 #1F6512 #2F991B #3FCD25
Accessibility & contrast
On white
7.17
#1F6512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#1F6512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F6512
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6512 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#126255
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #1f6512; /* rgb */ color: rgb(31, 101, 18); /* oklch */ color: oklch(44.6% 0.134 141.0);
Tailwind
colors: {
custom: {
50: '#669257',
500: '#1f6512',
950: '#000000',
},
}SCSS
$custom: #1f6512; $custom-light: #669257; $custom-dark: #000000;
JSON
{
"hex": "#1f6512",
"rgb": {
"r": 31,
"g": 101,
"b": 18
},
"hsl": {
"h": 110.602,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.44608,
"c": 0.13354,
"h": 141
},
"luminance": 0.09642
}Semantic roles & 50–950 ramp
primary
#1F6512
secondary
#8D369D
accent
#3BEDD1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78