#1F681C#1F681C
#1F681C is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.131 H 142.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F681C |
|---|---|
| RGB | rgb(31, 104, 28) |
| HSL | hsl(118, 58%, 26%) |
| HSV | hsv(118, 73%, 41%) |
| CMYK | cmyk(70.2%, 0%, 73.1%, 59.2%) |
| CIE-LAB | lab(38.33, -38.20, 34.78) |
| CIE-LCH | lch(38.33, 51.66, 137.68°) |
| OKLab | oklab(45.58% -0.1039 0.0796) |
| OKLCH | oklch(45.58% 0.131 142.5) |
| XYZ | xyz(5.7247, 10.2752, 2.7800) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.13
Deep Green
#02590F
ΔE00 5.06
Forest
#0B5509
ΔE00 6.15
Forest Green
#2D5A27
ΔE00 6.25
Darkish Green
#287C37
ΔE00 7.23
Pine
#2B5D34
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F681C #651C68
analogous
#45681C #1F681C #1C683F
triadic
#1F681C #1C1F68 #681C1F
tetradic
#1F681C #1C4568 #651C68 #683F1C
square
#1F681C #1C4568 #651C68 #683F1C
split-complementary
#1F681C #3F1C68 #681C45
monochromatic
#071806 #11380F #1F681C #2D9829 #3CC836
Accessibility & contrast
On white
6.87
#1F681C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#1F681C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F681C
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F681C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F681C | 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)
#6A5E11
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#0E6559
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f681c; /* rgb */ color: rgb(31, 104, 28); /* oklch */ color: oklch(45.6% 0.131 142.5);
Tailwind
colors: {
custom: {
50: '#66945d',
500: '#1f681c',
950: '#000000',
},
}SCSS
$custom: #1f681c; $custom-light: #66945d; $custom-dark: #000000;
JSON
{
"hex": "#1f681c",
"rgb": {
"r": 31,
"g": 104,
"b": 28
},
"hsl": {
"h": 117.632,
"s": 57.576,
"l": 25.882
},
"oklch": {
"l": 0.45576,
"c": 0.1309,
"h": 142.5
},
"luminance": 0.10276
}Semantic roles & 50–950 ramp
primary
#1F681C
secondary
#99439D
accent
#47E1DB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79