#2A560D#2A560D
#2A560D is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.6% C 0.112 H 136.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A560D |
|---|---|
| RGB | rgb(42, 86, 13) |
| HSL | hsl(96, 74%, 19%) |
| HSV | hsv(96, 85%, 34%) |
| CMYK | cmyk(51.2%, 0%, 84.9%, 66.3%) |
| CIE-LAB | lab(32.21, -28.86, 34.78) |
| CIE-LCH | lch(32.21, 45.20, 129.68°) |
| OKLab | oklab(40.6% -0.0804 0.0772) |
| OKLCH | oklch(40.6% 0.112 136.2) |
| XYZ | xyz(4.3552, 7.1766, 1.5364) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.92
Forest
#0B5509
ΔE00 3.58
Deep Green
#02590F
ΔE00 4.42
Forest Green
#2D5A27
ΔE00 4.63
Bottle Green
#044A05
ΔE00 5.32
Darkgreen (survey)
#054907
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A560D #390D56
analogous
#4F560D #2A560D #0D5614
triadic
#2A560D #0D2A56 #560D2A
tetradic
#2A560D #0D4F56 #390D56 #56140D
square
#2A560D #0D4F56 #390D56 #56140D
split-complementary
#2A560D #140D56 #560D4F
monochromatic
#0D1B04 #102105 #2A560D #448B15 #5EC01D
Accessibility & contrast
On white
8.62
#2A560D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A560D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A560D
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A560D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A560D | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#544A15
Tritanopia (blue-blind)
#285248
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a560d; /* rgb */ color: rgb(42, 86, 13); /* oklch */ color: oklch(40.6% 0.112 136.2);
Tailwind
colors: {
custom: {
50: '#698653',
500: '#2a560d',
950: '#000000',
},
}SCSS
$custom: #2a560d; $custom-light: #698653; $custom-dark: #000000;
JSON
{
"hex": "#2a560d",
"rgb": {
"r": 42,
"g": 86,
"b": 13
},
"hsl": {
"h": 96.164,
"s": 73.737,
"l": 19.412
},
"oklch": {
"l": 0.40597,
"c": 0.1115,
"h": 136.2
},
"luminance": 0.07177
}Semantic roles & 50–950 ramp
primary
#2A560D
secondary
#6A2E91
accent
#37F0A7
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78