#1F681E#1F681E
#1F681E is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.129 H 142.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F681E |
|---|---|
| RGB | rgb(31, 104, 30) |
| HSL | hsl(119, 55%, 26%) |
| HSV | hsv(119, 71%, 41%) |
| CMYK | cmyk(70.2%, 0%, 71.2%, 59.2%) |
| CIE-LAB | lab(38.35, -37.99, 33.91) |
| CIE-LCH | lch(38.35, 50.92, 138.25°) |
| OKLab | oklab(45.6% -0.1032 0.0781) |
| OKLCH | oklch(45.6% 0.129 142.9) |
| XYZ | xyz(5.7494, 10.2851, 2.9103) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.39
Deep Green
#02590F
ΔE00 5.06
Forest Green
#2D5A27
ΔE00 6.08
Forest
#0B5509
ΔE00 6.18
Darkish Green
#287C37
ΔE00 7.13
Pine
#2B5D34
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F681E #671E68
analogous
#44681E #1F681E #1E6842
triadic
#1F681E #1E1F68 #681E1F
tetradic
#1F681E #1E4468 #671E68 #68421E
square
#1F681E #1E4468 #671E68 #68421E
split-complementary
#1F681E #421E68 #681E44
monochromatic
#071807 #113910 #1F681E #2D982C #3CC63A
Accessibility & contrast
On white
6.87
#1F681E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#1F681E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F681E
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F681E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F681E | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E14
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#0E6559
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f681e; /* rgb */ color: rgb(31, 104, 30); /* oklch */ color: oklch(45.6% 0.129 142.9);
Tailwind
colors: {
custom: {
50: '#66945e',
500: '#1f681e',
950: '#000000',
},
}SCSS
$custom: #1f681e; $custom-light: #66945e; $custom-dark: #000000;
JSON
{
"hex": "#1f681e",
"rgb": {
"r": 31,
"g": 104,
"b": 30
},
"hsl": {
"h": 119.189,
"s": 55.224,
"l": 26.275
},
"oklch": {
"l": 0.45596,
"c": 0.12941,
"h": 142.9
},
"luminance": 0.10286
}Semantic roles & 50–950 ramp
primary
#1F681E
secondary
#9B459D
accent
#49DFDD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79