#1F522A#1F522A
#1F522A is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.086 H 148.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F522A |
|---|---|
| RGB | rgb(31, 82, 42) |
| HSL | hsl(133, 45%, 22%) |
| HSV | hsv(133, 62%, 32%) |
| CMYK | cmyk(62.2%, 0%, 48.8%, 67.8%) |
| CIE-LAB | lab(30.62, -27.04, 18.46) |
| CIE-LCH | lch(30.62, 32.74, 145.69°) |
| OKLab | oklab(39.27% -0.0732 0.0453) |
| OKLCH | oklch(39.27% 0.086 148.2) |
| XYZ | xyz(4.0000, 6.4927, 3.2325) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.58
Pine
#2B5D34
ΔE00 3.65
Forest Green
#2D5A27
ΔE00 4.15
Hunter Green
#355E3B
ΔE00 4.95
Evergreen
#05472A
ΔE00 5.11
Spruce
#0A5F38
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F522A #521F47
analogous
#2E521F #1F522A #1F5244
triadic
#1F522A #2A1F52 #522A1F
tetradic
#1F522A #1F2E52 #521F47 #52441F
square
#1F522A #1F2E52 #521F47 #52441F
split-complementary
#1F522A #441F52 #521F2E
monochromatic
#08160B #0E2613 #1F522A #307E41 #41AB57
Accessibility & contrast
On white
9.14
#1F522A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F522A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F522A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F522A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F522A | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B27
Deuteranopia (green-blind)
#4C462D
Tritanopia (blue-blind)
#135048
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f522a; /* rgb */ color: rgb(31, 82, 42); /* oklch */ color: oklch(39.3% 0.086 148.2);
Tailwind
colors: {
custom: {
50: '#608364',
500: '#1f522a',
950: '#000000',
},
}SCSS
$custom: #1f522a; $custom-light: #608364; $custom-dark: #000000;
JSON
{
"hex": "#1f522a",
"rgb": {
"r": 31,
"g": 82,
"b": 42
},
"hsl": {
"h": 132.941,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.3927,
"c": 0.08606,
"h": 148.2
},
"luminance": 0.06493
}Semantic roles & 50–950 ramp
primary
#1F522A
secondary
#874679
accent
#53B9D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A05
muted
#797C7A