#1F522B#1F522B
#1F522B is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.085 H 148.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F522B |
|---|---|
| RGB | rgb(31, 82, 43) |
| HSL | hsl(134, 45%, 22%) |
| HSV | hsv(134, 62%, 32%) |
| CMYK | cmyk(62.2%, 0%, 47.6%, 67.8%) |
| CIE-LAB | lab(30.64, -26.86, 17.88) |
| CIE-LCH | lch(30.64, 32.26, 146.34°) |
| OKLab | oklab(39.29% -0.0727 0.044) |
| OKLCH | oklch(39.29% 0.085 148.8) |
| XYZ | xyz(4.0181, 6.4999, 3.3279) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.66
Pine Green
#0A481E
ΔE00 3.66
Forest Green
#2D5A27
ΔE00 4.35
Hunter Green
#355E3B
ΔE00 4.87
Evergreen
#05472A
ΔE00 4.93
Spruce
#0A5F38
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F522B #521F46
analogous
#2C521F #1F522B #1F5245
triadic
#1F522B #2B1F52 #522B1F
tetradic
#1F522B #1F2C52 #521F46 #52451F
square
#1F522B #1F2C52 #521F46 #52451F
split-complementary
#1F522B #451F52 #521F2C
monochromatic
#08160C #0E2614 #1F522B #307E42 #41AB5A
Accessibility & contrast
On white
9.13
#1F522B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F522B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F522B
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F522B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F522B | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#135049
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f522b; /* rgb */ color: rgb(31, 82, 43); /* oklch */ color: oklch(39.3% 0.085 148.8);
Tailwind
colors: {
custom: {
50: '#608365',
500: '#1f522b',
950: '#000000',
},
}SCSS
$custom: #1f522b; $custom-light: #608365; $custom-dark: #000000;
JSON
{
"hex": "#1f522b",
"rgb": {
"r": 31,
"g": 82,
"b": 43
},
"hsl": {
"h": 134.118,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.3929,
"c": 0.08497,
"h": 148.8
},
"luminance": 0.065
}Semantic roles & 50–950 ramp
primary
#1F522B
secondary
#874678
accent
#53B6D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A05
muted
#797C7A