#1F663D#1F663D
#1F663D is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.5% C 0.097 H 154.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F663D |
|---|---|
| RGB | rgb(31, 102, 61) |
| HSL | hsl(145, 53%, 26%) |
| HSV | hsv(145, 70%, 40%) |
| CMYK | cmyk(69.6%, 0%, 40.2%, 60%) |
| CIE-LAB | lab(38.08, -32.26, 16.94) |
| CIE-LCH | lch(38.08, 36.44, 152.30°) |
| OKLab | oklab(45.51% -0.0873 0.0423) |
| OKLCH | oklch(45.51% 0.097 154.1) |
| XYZ | xyz(6.1582, 10.1303, 6.0448) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.70
Pine
#2B5D34
ΔE00 3.75
Hunter Green
#355E3B
ΔE00 4.63
Forest Green
#2D5A27
ΔE00 6.27
Deep Green
#02590F
ΔE00 8.71
Darkish Green
#287C37
ΔE00 9.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F663D #661F48
analogous
#24661F #1F663D #1F6660
triadic
#1F663D #3D1F66 #663D1F
tetradic
#1F663D #1F2466 #661F48 #66601F
square
#1F663D #1F2466 #661F48 #66601F
split-complementary
#1F663D #601F66 #661F24
monochromatic
#07170E #113721 #1F663D #2D9559 #3CC475
Accessibility & contrast
On white
6.94
#1F663D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#1F663D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F663D
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F663D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F663D | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665D3A
Deuteranopia (green-blind)
#5D5740
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f663d; /* rgb */ color: rgb(31, 102, 61); /* oklch */ color: oklch(45.5% 0.097 154.1);
Tailwind
colors: {
custom: {
50: '#649273',
500: '#1f663d',
950: '#000000',
},
}SCSS
$custom: #1f663d; $custom-light: #649273; $custom-dark: #000000;
JSON
{
"hex": "#1f663d",
"rgb": {
"r": 31,
"g": 102,
"b": 61
},
"hsl": {
"h": 145.352,
"s": 53.383,
"l": 26.078
},
"oklch": {
"l": 0.4551,
"c": 0.09698,
"h": 154.1
},
"luminance": 0.10131
}Semantic roles & 50–950 ramp
primary
#1F663D
secondary
#9A4677
accent
#4B9FDD
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D08
muted
#7A7E7B