#2D541F#2D541F
#2D541F is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.4% C 0.093 H 138.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2D541F |
|---|---|
| RGB | rgb(45, 84, 31) |
| HSL | hsl(104, 46%, 23%) |
| HSV | hsv(104, 63%, 33%) |
| CMYK | cmyk(46.4%, 0%, 63.1%, 67.1%) |
| CIE-LAB | lab(31.80, -25.16, 26.26) |
| CIE-LCH | lch(31.80, 36.37, 133.77°) |
| OKLab | oklab(40.36% -0.0692 0.0618) |
| OKLCH | oklch(40.36% 0.093 138.3) |
| XYZ | xyz(4.4997, 6.9972, 2.4096) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.29
Navy Green
#35530A
ΔE00 4.71
Forest
#0B5509
ΔE00 4.93
Pine
#2B5D34
ΔE00 5.12
Deep Green
#02590F
ΔE00 5.47
Darkgreen (survey)
#054907
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D541F #461F54
analogous
#47541F #2D541F #1F542B
triadic
#2D541F #1F2D54 #541F2D
tetradic
#2D541F #1F4754 #461F54 #542B1F
square
#2D541F #1F4754 #461F54 #542B1F
split-complementary
#2D541F #2B1F54 #541F47
monochromatic
#0C1608 #15270F #2D541F #45812F #5DAD40
Accessibility & contrast
On white
8.75
#2D541F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2D541F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D541F
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D541F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D541F | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#514A23
Tritanopia (blue-blind)
#2B5148
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2d541f; /* rgb */ color: rgb(45, 84, 31); /* oklch */ color: oklch(40.4% 0.093 138.3);
Tailwind
colors: {
custom: {
50: '#69845d',
500: '#2d541f',
950: '#000000',
},
}SCSS
$custom: #2d541f; $custom-light: #69845d; $custom-dark: #000000;
JSON
{
"hex": "#2d541f",
"rgb": {
"r": 45,
"g": 84,
"b": 31
},
"hsl": {
"h": 104.151,
"s": 46.087,
"l": 22.549
},
"oklch": {
"l": 0.40356,
"c": 0.09278,
"h": 138.3
},
"luminance": 0.06997
}Semantic roles & 50–950 ramp
primary
#2D541F
secondary
#774689
accent
#52D6B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79