#2B561F#2B561F
#2B561F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.097 H 139.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2B561F |
|---|---|
| RGB | rgb(43, 86, 31) |
| HSL | hsl(107, 47%, 23%) |
| HSV | hsv(107, 64%, 34%) |
| CMYK | cmyk(50%, 0%, 64%, 66.3%) |
| CIE-LAB | lab(32.41, -26.83, 26.94) |
| CIE-LCH | lch(32.41, 38.02, 134.88°) |
| OKLab | oklab(40.83% -0.0736 0.0633) |
| OKLCH | oklch(40.83% 0.097 139.3) |
| XYZ | xyz(4.5712, 7.2678, 2.4580) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.76
Forest
#0B5509
ΔE00 4.36
Deep Green
#02590F
ΔE00 4.73
Pine
#2B5D34
ΔE00 4.83
Navy Green
#35530A
ΔE00 4.94
Bottle Green
#044A05
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B561F #4A1F56
analogous
#46561F #2B561F #1F562E
triadic
#2B561F #1F2B56 #561F2B
tetradic
#2B561F #1F4656 #4A1F56 #562E1F
square
#2B561F #1F4656 #4A1F56 #562E1F
split-complementary
#2B561F #2E1F56 #561F46
monochromatic
#0B1608 #15290F #2B561F #41832F #58B03F
Accessibility & contrast
On white
8.56
#2B561F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2B561F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B561F
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B561F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B561F | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#27534A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b561f; /* rgb */ color: rgb(43, 86, 31); /* oklch */ color: oklch(40.8% 0.097 139.3);
Tailwind
colors: {
custom: {
50: '#68865d',
500: '#2b561f',
950: '#000000',
},
}SCSS
$custom: #2b561f; $custom-light: #68865d; $custom-dark: #000000;
JSON
{
"hex": "#2b561f",
"rgb": {
"r": 43,
"g": 86,
"b": 31
},
"hsl": {
"h": 106.909,
"s": 47.009,
"l": 22.941
},
"oklch": {
"l": 0.40827,
"c": 0.09707,
"h": 139.3
},
"luminance": 0.07268
}Semantic roles & 50–950 ramp
primary
#2B561F
secondary
#7C468B
accent
#51D7BA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79