#2A561A#2A561A
#2A561A is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.102 H 138.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2A561A |
|---|---|
| RGB | rgb(42, 86, 26) |
| HSL | hsl(104, 54%, 22%) |
| HSV | hsv(104, 70%, 34%) |
| CMYK | cmyk(51.2%, 0%, 69.8%, 66.3%) |
| CIE-LAB | lab(32.31, -27.76, 29.35) |
| CIE-LCH | lch(32.31, 40.40, 133.40°) |
| OKLab | oklab(40.71% -0.0765 0.0678) |
| OKLCH | oklch(40.71% 0.102 138.4) |
| XYZ | xyz(4.4689, 7.2221, 2.1356) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.57
Forest
#0B5509
ΔE00 3.72
Navy Green
#35530A
ΔE00 4.24
Deep Green
#02590F
ΔE00 4.25
Bottle Green
#044A05
ΔE00 5.13
Darkgreen (survey)
#054907
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A561A #461A56
analogous
#48561A #2A561A #1A5628
triadic
#2A561A #1A2A56 #561A2A
tetradic
#2A561A #1A4856 #461A56 #56281A
square
#2A561A #1A4856 #461A56 #56281A
split-complementary
#2A561A #281A56 #561A48
monochromatic
#0B1707 #13270C #2A561A #418528 #58B436
Accessibility & contrast
On white
8.59
#2A561A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A561A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A561A
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A561A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A561A | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594E13
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#27534A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a561a; /* rgb */ color: rgb(42, 86, 26); /* oklch */ color: oklch(40.7% 0.102 138.4);
Tailwind
colors: {
custom: {
50: '#68865a',
500: '#2a561a',
950: '#000000',
},
}SCSS
$custom: #2a561a; $custom-light: #68865a; $custom-dark: #000000;
JSON
{
"hex": "#2a561a",
"rgb": {
"r": 42,
"g": 86,
"b": 26
},
"hsl": {
"h": 104,
"s": 53.571,
"l": 21.961
},
"oklch": {
"l": 0.40713,
"c": 0.10221,
"h": 138.4
},
"luminance": 0.07222
}Semantic roles & 50–950 ramp
primary
#2A561A
secondary
#78408C
accent
#4BDDB6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79