#1F522F#1F522F
#1F522F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.081 H 151.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1F522F |
|---|---|
| RGB | rgb(31, 82, 47) |
| HSL | hsl(139, 45%, 22%) |
| HSV | hsv(139, 62%, 32%) |
| CMYK | cmyk(62.2%, 0%, 42.7%, 67.8%) |
| CIE-LAB | lab(30.71, -26.07, 15.57) |
| CIE-LCH | lch(30.71, 30.36, 149.16°) |
| OKLab | oklab(39.38% -0.0706 0.0387) |
| OKLCH | oklch(39.38% 0.081 151.2) |
| XYZ | xyz(4.0952, 6.5308, 3.7335) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.90
Pine Green
#0A481E
ΔE00 4.17
Evergreen
#05472A
ΔE00 4.31
Hunter Green
#355E3B
ΔE00 4.69
Spruce
#0A5F38
ΔE00 4.87
Forest Green
#2D5A27
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F522F #521F42
analogous
#28521F #1F522F #1F5249
triadic
#1F522F #2F1F52 #522F1F
tetradic
#1F522F #1F2852 #521F42 #52491F
square
#1F522F #1F2852 #521F42 #52491F
split-complementary
#1F522F #491F52 #521F28
monochromatic
#08160D #0E2616 #1F522F #307E48 #41AB62
Accessibility & contrast
On white
9.11
#1F522F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F522F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F522F
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F522F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F522F | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2D
Deuteranopia (green-blind)
#4B4631
Tritanopia (blue-blind)
#115149
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f522f; /* rgb */ color: rgb(31, 82, 47); /* oklch */ color: oklch(39.4% 0.081 151.2);
Tailwind
colors: {
custom: {
50: '#608368',
500: '#1f522f',
950: '#000000',
},
}SCSS
$custom: #1f522f; $custom-light: #608368; $custom-dark: #000000;
JSON
{
"hex": "#1f522f",
"rgb": {
"r": 31,
"g": 82,
"b": 47
},
"hsl": {
"h": 138.824,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.39375,
"c": 0.08054,
"h": 151.2
},
"luminance": 0.06531
}Semantic roles & 50–950 ramp
primary
#1F522F
secondary
#874672
accent
#53ACD5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A