#1F542E#1F542E
#1F542E is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.085 H 150.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F542E |
|---|---|
| RGB | rgb(31, 84, 46) |
| HSL | hsl(137, 46%, 23%) |
| HSV | hsv(137, 63%, 33%) |
| CMYK | cmyk(63.1%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(31.41, -27.21, 17.09) |
| CIE-LCH | lch(31.41, 32.13, 147.87°) |
| OKLab | oklab(39.94% -0.0736 0.0423) |
| OKLCH | oklch(39.94% 0.085 150.1) |
| XYZ | xyz(4.2282, 6.8288, 3.6795) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.15
Pine Green
#0A481E
ΔE00 4.28
Spruce
#0A5F38
ΔE00 4.33
Hunter Green
#355E3B
ΔE00 4.37
Forest Green
#2D5A27
ΔE00 4.44
Evergreen
#05472A
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F542E #541F45
analogous
#2B541F #1F542E #1F5448
triadic
#1F542E #2E1F54 #542E1F
tetradic
#1F542E #1F2B54 #541F45 #54481F
square
#1F542E #1F2B54 #541F45 #54481F
split-complementary
#1F542E #481F54 #541F2B
monochromatic
#08160C #0F2716 #1F542E #2F8146 #40AD5F
Accessibility & contrast
On white
8.88
#1F542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1F542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F542E
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F542E | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4D4830
Tritanopia (blue-blind)
#11534B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f542e; /* rgb */ color: rgb(31, 84, 46); /* oklch */ color: oklch(39.9% 0.085 150.1);
Tailwind
colors: {
custom: {
50: '#618567',
500: '#1f542e',
950: '#000000',
},
}SCSS
$custom: #1f542e; $custom-light: #618567; $custom-dark: #000000;
JSON
{
"hex": "#1f542e",
"rgb": {
"r": 31,
"g": 84,
"b": 46
},
"hsl": {
"h": 136.981,
"s": 46.087,
"l": 22.549
},
"oklch": {
"l": 0.39943,
"c": 0.0849,
"h": 150.1
},
"luminance": 0.06829
}Semantic roles & 50–950 ramp
primary
#1F542E
secondary
#894676
accent
#52B0D6
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A