#1F642F#1F642F
#1F642F is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.108 H 147.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F642F |
|---|---|
| RGB | rgb(31, 100, 47) |
| HSL | hsl(134, 53%, 26%) |
| HSV | hsv(134, 69%, 39%) |
| CMYK | cmyk(69%, 0%, 53%, 60.8%) |
| CIE-LAB | lab(37.13, -34.06, 23.78) |
| CIE-LCH | lch(37.13, 41.54, 145.07°) |
| OKLab | oklab(44.66% -0.0919 0.0576) |
| OKLCH | oklch(44.66% 0.108 147.9) |
| XYZ | xyz(5.6349, 9.6103, 4.2468) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.73
Forest Green
#2D5A27
ΔE00 4.23
Spruce
#0A5F38
ΔE00 4.35
Hunter Green
#355E3B
ΔE00 5.52
Deep Green
#02590F
ΔE00 5.70
Forest
#0B5509
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F642F #641F54
analogous
#31641F #1F642F #1F6451
triadic
#1F642F #2F1F64 #642F1F
tetradic
#1F642F #1F3164 #641F54 #64511F
square
#1F642F #1F3164 #641F54 #64511F
split-complementary
#1F642F #511F64 #641F31
monochromatic
#07170B #113519 #1F642F #2D9345 #3CC15B
Accessibility & contrast
On white
7.19
#1F642F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#1F642F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F642F
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F642F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F642F | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#5C5533
Tritanopia (blue-blind)
#086258
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #1f642f; /* rgb */ color: rgb(31, 100, 47); /* oklch */ color: oklch(44.7% 0.108 147.9);
Tailwind
colors: {
custom: {
50: '#649168',
500: '#1f642f',
950: '#000000',
},
}SCSS
$custom: #1f642f; $custom-light: #649168; $custom-dark: #000000;
JSON
{
"hex": "#1f642f",
"rgb": {
"r": 31,
"g": 100,
"b": 47
},
"hsl": {
"h": 133.913,
"s": 52.672,
"l": 25.686
},
"oklch": {
"l": 0.44656,
"c": 0.10849,
"h": 147.9
},
"luminance": 0.09611
}Semantic roles & 50–950 ramp
primary
#1F642F
secondary
#984685
accent
#4CBBDC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060D06
muted
#7A7D7A