#1F663F#1F663F
#1F663F is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.6% C 0.095 H 155.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1F663F |
|---|---|
| RGB | rgb(31, 102, 63) |
| HSL | hsl(147, 53%, 26%) |
| HSV | hsv(147, 70%, 40%) |
| CMYK | cmyk(69.6%, 0%, 38.2%, 60%) |
| CIE-LAB | lab(38.11, -31.84, 15.81) |
| CIE-LCH | lch(38.11, 35.54, 153.59°) |
| OKLab | oklab(45.56% -0.0862 0.0397) |
| OKLCH | oklch(45.56% 0.095 155.3) |
| XYZ | xyz(6.2131, 10.1523, 6.3338) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.67
Pine
#2B5D34
ΔE00 3.95
Hunter Green
#355E3B
ΔE00 4.62
Forest Green
#2D5A27
ΔE00 6.65
Deep Green
#02590F
ΔE00 9.20
Dark Green Blue
#1F6357
ΔE00 9.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F663F #661F46
analogous
#23661F #1F663F #1F6662
triadic
#1F663F #3F1F66 #663F1F
tetradic
#1F663F #1F2366 #661F46 #66621F
square
#1F663F #1F2366 #661F46 #66621F
split-complementary
#1F663F #621F66 #661F23
monochromatic
#07170E #113722 #1F663F #2D955C #3CC479
Accessibility & contrast
On white
6.93
#1F663F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#1F663F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F663F
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F663F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F663F | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665E3C
Deuteranopia (green-blind)
#5C5742
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f663f; /* rgb */ color: rgb(31, 102, 63); /* oklch */ color: oklch(45.6% 0.095 155.3);
Tailwind
colors: {
custom: {
50: '#649274',
500: '#1f663f',
950: '#000000',
},
}SCSS
$custom: #1f663f; $custom-light: #649274; $custom-dark: #000000;
JSON
{
"hex": "#1f663f",
"rgb": {
"r": 31,
"g": 102,
"b": 63
},
"hsl": {
"h": 147.042,
"s": 53.383,
"l": 26.078
},
"oklch": {
"l": 0.45555,
"c": 0.09491,
"h": 155.3
},
"luminance": 0.10153
}Semantic roles & 50–950 ramp
primary
#1F663F
secondary
#9A4675
accent
#4B9BDD
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B