#1F522D#1F522D
#1F522D is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.083 H 150.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F522D |
|---|---|
| RGB | rgb(31, 82, 45) |
| HSL | hsl(136, 45%, 22%) |
| HSV | hsv(136, 62%, 32%) |
| CMYK | cmyk(62.2%, 0%, 45.1%, 67.8%) |
| CIE-LAB | lab(30.68, -26.47, 16.73) |
| CIE-LCH | lch(30.68, 31.31, 147.71°) |
| OKLab | oklab(39.33% -0.0716 0.0414) |
| OKLCH | oklch(39.33% 0.083 150) |
| XYZ | xyz(4.0557, 6.5150, 3.5259) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.73
Pine Green
#0A481E
ΔE00 3.87
Evergreen
#05472A
ΔE00 4.59
Hunter Green
#355E3B
ΔE00 4.74
Forest Green
#2D5A27
ΔE00 4.80
Spruce
#0A5F38
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F522D #521F44
analogous
#2A521F #1F522D #1F5247
triadic
#1F522D #2D1F52 #522D1F
tetradic
#1F522D #1F2A52 #521F44 #52471F
square
#1F522D #1F2A52 #521F44 #52471F
split-complementary
#1F522D #471F52 #521F2A
monochromatic
#08160C #0E2615 #1F522D #307E45 #41AB5E
Accessibility & contrast
On white
9.12
#1F522D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F522D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F522D
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F522D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F522D | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B2A
Deuteranopia (green-blind)
#4C462F
Tritanopia (blue-blind)
#125149
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f522d; /* rgb */ color: rgb(31, 82, 45); /* oklch */ color: oklch(39.3% 0.083 150.0);
Tailwind
colors: {
custom: {
50: '#608366',
500: '#1f522d',
950: '#000000',
},
}SCSS
$custom: #1f522d; $custom-light: #608366; $custom-dark: #000000;
JSON
{
"hex": "#1f522d",
"rgb": {
"r": 31,
"g": 82,
"b": 45
},
"hsl": {
"h": 136.471,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.39332,
"c": 0.08276,
"h": 150
},
"luminance": 0.06515
}Semantic roles & 50–950 ramp
primary
#1F522D
secondary
#874675
accent
#53B1D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A