#1F681F#1F681F
#1F681F is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.129 H 143.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F681F |
|---|---|
| RGB | rgb(31, 104, 31) |
| HSL | hsl(120, 54%, 26%) |
| HSV | hsv(120, 70%, 41%) |
| CMYK | cmyk(70.2%, 0%, 70.2%, 59.2%) |
| CIE-LAB | lab(38.36, -37.88, 33.46) |
| CIE-LCH | lch(38.36, 50.54, 138.55°) |
| OKLab | oklab(45.61% -0.1029 0.0772) |
| OKLCH | oklch(45.61% 0.129 143.1) |
| XYZ | xyz(5.7624, 10.2903, 2.9786) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.52
Deep Green
#02590F
ΔE00 5.06
Forest Green
#2D5A27
ΔE00 6.00
Forest
#0B5509
ΔE00 6.20
Darkish Green
#287C37
ΔE00 7.08
Pine
#2B5D34
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F681F #681F68
analogous
#44681F #1F681F #1F6844
triadic
#1F681F #1F1F68 #681F1F
tetradic
#1F681F #1F4468 #681F68 #68441F
square
#1F681F #1F4468 #681F68 #68441F
split-complementary
#1F681F #441F68 #681F44
monochromatic
#071807 #113911 #1F681F #2D972D #3CC53C
Accessibility & contrast
On white
6.87
#1F681F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#1F681F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F681F
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F681F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F681F | 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)
#6A5E15
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#0D6559
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f681f; /* rgb */ color: rgb(31, 104, 31); /* oklch */ color: oklch(45.6% 0.129 143.1);
Tailwind
colors: {
custom: {
50: '#66945e',
500: '#1f681f',
950: '#000000',
},
}SCSS
$custom: #1f681f; $custom-light: #66945e; $custom-dark: #000000;
JSON
{
"hex": "#1f681f",
"rgb": {
"r": 31,
"g": 104,
"b": 31
},
"hsl": {
"h": 120,
"s": 54.074,
"l": 26.471
},
"oklch": {
"l": 0.45606,
"c": 0.12863,
"h": 143.1
},
"luminance": 0.10291
}Semantic roles & 50–950 ramp
primary
#1F681F
secondary
#9C469C
accent
#4ADDDD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79