#2A561B#2A561B
#2A561B is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.101 H 138.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2A561B |
|---|---|
| RGB | rgb(42, 86, 27) |
| HSL | hsl(105, 52%, 22%) |
| HSV | hsv(105, 69%, 34%) |
| CMYK | cmyk(51.2%, 0%, 68.6%, 66.3%) |
| CIE-LAB | lab(32.32, -27.65, 28.87) |
| CIE-LCH | lch(32.32, 39.97, 133.76°) |
| OKLab | oklab(40.72% -0.0761 0.0669) |
| OKLCH | oklch(40.72% 0.101 138.7) |
| XYZ | xyz(4.4803, 7.2266, 2.1955) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.39
Forest
#0B5509
ΔE00 3.80
Deep Green
#02590F
ΔE00 4.30
Navy Green
#35530A
ΔE00 4.39
Bottle Green
#044A05
ΔE00 5.16
Darkgreen (survey)
#054907
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A561B #471B56
analogous
#48561B #2A561B #1B562A
triadic
#2A561B #1B2A56 #561B2A
tetradic
#2A561B #1B4856 #471B56 #562A1B
square
#2A561B #1B4856 #471B56 #562A1B
split-complementary
#2A561B #2A1B56 #561B48
monochromatic
#0B1707 #13270C #2A561B #41852A #57B338
Accessibility & contrast
On white
8.59
#2A561B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2A561B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A561B
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A561B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A561B | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594E14
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#27534A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a561b; /* rgb */ color: rgb(42, 86, 27); /* oklch */ color: oklch(40.7% 0.101 138.7);
Tailwind
colors: {
custom: {
50: '#68865a',
500: '#2a561b',
950: '#000000',
},
}SCSS
$custom: #2a561b; $custom-light: #68865a; $custom-dark: #000000;
JSON
{
"hex": "#2a561b",
"rgb": {
"r": 42,
"g": 86,
"b": 27
},
"hsl": {
"h": 104.746,
"s": 52.212,
"l": 22.157
},
"oklch": {
"l": 0.40724,
"c": 0.10134,
"h": 138.7
},
"luminance": 0.07227
}Semantic roles & 50–950 ramp
primary
#2A561B
secondary
#79418C
accent
#4CDCB7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79