#1F682C#1F682C
#1F682C is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.117 H 146.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1F682C |
|---|---|
| RGB | rgb(31, 104, 44) |
| HSL | hsl(131, 54%, 26%) |
| HSV | hsv(131, 70%, 41%) |
| CMYK | cmyk(70.2%, 0%, 57.7%, 59.2%) |
| CIE-LAB | lab(38.50, -36.18, 27.10) |
| CIE-LCH | lch(38.50, 45.21, 143.17°) |
| OKLab | oklab(45.77% -0.0977 0.0648) |
| OKLCH | oklch(45.77% 0.117 146.4) |
| XYZ | xyz(5.9696, 10.3732, 4.0700) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.30
Pine
#2B5D34
ΔE00 5.43
Darkgreen
#006400
ΔE00 5.79
Deep Green
#02590F
ΔE00 5.80
Spruce
#0A5F38
ΔE00 6.03
Darkish Green
#287C37
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F682C #681F5B
analogous
#37681F #1F682C #1F6851
triadic
#1F682C #2C1F68 #682C1F
tetradic
#1F682C #1F3768 #681F5B #68511F
square
#1F682C #1F3768 #681F5B #68511F
split-complementary
#1F682C #511F68 #681F37
monochromatic
#07180A #113918 #1F682C #2D9740 #3CC555
Accessibility & contrast
On white
6.83
#1F682C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#1F682C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F682C
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F682C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F682C | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E26
Deuteranopia (green-blind)
#615831
Tritanopia (blue-blind)
#07655B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f682c; /* rgb */ color: rgb(31, 104, 44); /* oklch */ color: oklch(45.8% 0.117 146.4);
Tailwind
colors: {
custom: {
50: '#659467',
500: '#1f682c',
950: '#000000',
},
}SCSS
$custom: #1f682c; $custom-light: #659467; $custom-dark: #000000;
JSON
{
"hex": "#1f682c",
"rgb": {
"r": 31,
"g": 104,
"b": 44
},
"hsl": {
"h": 130.685,
"s": 54.074,
"l": 26.471
},
"oklch": {
"l": 0.45774,
"c": 0.11723,
"h": 146.4
},
"luminance": 0.10374
}Semantic roles & 50–950 ramp
primary
#1F682C
secondary
#9C468D
accent
#4AC3DD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A