#1F6918#1F6918
#1F6918 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.135 H 141.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6918 |
|---|---|
| RGB | rgb(31, 105, 24) |
| HSL | hsl(115, 63%, 25%) |
| HSV | hsv(115, 77%, 41%) |
| CMYK | cmyk(70.5%, 0%, 77.1%, 58.8%) |
| CIE-LAB | lab(38.66, -38.95, 36.80) |
| CIE-LCH | lch(38.66, 53.58, 136.62°) |
| OKLab | oklab(45.83% -0.1061 0.0833) |
| OKLCH | oklch(45.83% 0.135 141.9) |
| XYZ | xyz(5.7812, 10.4598, 2.5783) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.82
Deep Green
#02590F
ΔE00 5.45
Forest
#0B5509
ΔE00 6.48
Forest Green
#2D5A27
ΔE00 6.88
Darkish Green
#287C37
ΔE00 7.20
Tree Green
#2A7E19
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6918 #621869
analogous
#476918 #1F6918 #186939
triadic
#1F6918 #181F69 #69181F
tetradic
#1F6918 #184769 #621869 #693918
square
#1F6918 #184769 #621869 #693918
split-complementary
#1F6918 #391869 #691847
monochromatic
#071906 #10370D #1F6918 #2E9B23 #3CCD2F
Accessibility & contrast
On white
6.79
#1F6918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#1F6918 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6918
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6918 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#0F6659
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f6918; /* rgb */ color: rgb(31, 105, 24); /* oklch */ color: oklch(45.8% 0.135 141.9);
Tailwind
colors: {
custom: {
50: '#66955b',
500: '#1f6918',
950: '#000000',
},
}SCSS
$custom: #1f6918; $custom-light: #66955b; $custom-dark: #000000;
JSON
{
"hex": "#1f6918",
"rgb": {
"r": 31,
"g": 105,
"b": 24
},
"hsl": {
"h": 114.815,
"s": 62.791,
"l": 25.294
},
"oklch": {
"l": 0.45834,
"c": 0.13493,
"h": 141.9
},
"luminance": 0.1046
}Semantic roles & 50–950 ramp
primary
#1F6918
secondary
#973E9F
accent
#42E6D8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79