#1F6815#1F6815
#1F6815 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.136 H 141.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6815 |
|---|---|
| RGB | rgb(31, 104, 21) |
| HSL | hsl(113, 66%, 25%) |
| HSV | hsv(113, 80%, 41%) |
| CMYK | cmyk(70.2%, 0%, 79.8%, 59.2%) |
| CIE-LAB | lab(38.28, -38.82, 37.59) |
| CIE-LCH | lch(38.28, 54.04, 135.92°) |
| OKLab | oklab(45.52% -0.106 0.0845) |
| OKLCH | oklch(45.52% 0.136 141.4) |
| XYZ | xyz(5.6504, 10.2455, 2.3891) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.48
Deep Green
#02590F
ΔE00 5.22
Forest
#0B5509
ΔE00 6.19
Forest Green
#2D5A27
ΔE00 6.84
Darkish Green
#287C37
ΔE00 7.64
Tree Green
#2A7E19
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6815 #5E1568
analogous
#496815 #1F6815 #156835
triadic
#1F6815 #151F68 #68151F
tetradic
#1F6815 #154968 #5E1568 #683515
square
#1F6815 #154968 #5E1568 #683515
split-complementary
#1F6815 #351568 #681549
monochromatic
#081905 #10350B #1F6815 #2E9B1F #3DCE2A
Accessibility & contrast
On white
6.89
#1F6815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#1F6815 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6815
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6815 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#106558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f6815; /* rgb */ color: rgb(31, 104, 21); /* oklch */ color: oklch(45.5% 0.136 141.4);
Tailwind
colors: {
custom: {
50: '#669459',
500: '#1f6815',
950: '#000000',
},
}SCSS
$custom: #1f6815; $custom-light: #669459; $custom-dark: #000000;
JSON
{
"hex": "#1f6815",
"rgb": {
"r": 31,
"g": 104,
"b": 21
},
"hsl": {
"h": 112.771,
"s": 66.4,
"l": 24.51
},
"oklch": {
"l": 0.45516,
"c": 0.13554,
"h": 141.4
},
"luminance": 0.10246
}Semantic roles & 50–950 ramp
primary
#1F6815
secondary
#933A9F
accent
#3EE9D5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79