#1F482E#1F482E
#1F482E is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.4% C 0.065 H 153.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F482E |
|---|---|
| RGB | rgb(31, 72, 46) |
| HSL | hsl(142, 40%, 20%) |
| HSV | hsv(142, 57%, 28%) |
| CMYK | cmyk(56.9%, 0%, 36.1%, 71.8%) |
| CIE-LAB | lab(27.08, -21.35, 11.33) |
| CIE-LCH | lch(27.08, 24.17, 152.05°) |
| OKLab | oklab(36.4% -0.0582 0.0286) |
| OKLCH | oklch(36.4% 0.065 153.8) |
| XYZ | xyz(3.3753, 5.1230, 3.3952) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.13
Pine Green
#0A481E
ΔE00 5.26
Hunter Green
#355E3B
ΔE00 7.56
Pine
#2B5D34
ΔE00 7.63
Spruce
#0A5F38
ΔE00 8.43
Hunter Green (survey)
#0B4008
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F482E #481F39
analogous
#24481F #1F482E #1F4842
triadic
#1F482E #2E1F48 #482E1F
tetradic
#1F482E #1F2448 #481F39 #48421F
square
#1F482E #1F2448 #481F39 #48421F
split-complementary
#1F482E #421F48 #481F24
monochromatic
#09150E #0D1D13 #1F482E #317349 #449E65
Accessibility & contrast
On white
10.37
#1F482E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#1F482E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F482E
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F482E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F482E | 1.00 | 10.37 | 2.02 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48422C
Deuteranopia (green-blind)
#423E30
Tritanopia (blue-blind)
#154741
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f482e; /* rgb */ color: rgb(31, 72, 46); /* oklch */ color: oklch(36.4% 0.065 153.8);
Tailwind
colors: {
custom: {
50: '#5e7b66',
500: '#1f482e',
950: '#000000',
},
}SCSS
$custom: #1f482e; $custom-light: #5e7b66; $custom-dark: #000000;
JSON
{
"hex": "#1f482e",
"rgb": {
"r": 31,
"g": 72,
"b": 46
},
"hsl": {
"h": 141.951,
"s": 39.806,
"l": 20.196
},
"oklch": {
"l": 0.36396,
"c": 0.06481,
"h": 153.8
},
"luminance": 0.05123
}Semantic roles & 50–950 ramp
primary
#1F482E
secondary
#7D4669
accent
#58A4D0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A