#2A550D#2A550D
#2A550D is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.110 H 136.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A550D |
|---|---|
| RGB | rgb(42, 85, 13) |
| HSL | hsl(96, 73%, 19%) |
| HSV | hsv(96, 85%, 33%) |
| CMYK | cmyk(50.6%, 0%, 84.7%, 66.7%) |
| CIE-LAB | lab(31.85, -28.41, 34.45) |
| CIE-LCH | lch(31.85, 44.65, 129.52°) |
| OKLab | oklab(40.3% -0.0792 0.0765) |
| OKLCH | oklch(40.3% 0.11 136) |
| XYZ | xyz(4.2759, 7.0180, 1.5100) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.77
Forest
#0B5509
ΔE00 3.65
Deep Green
#02590F
ΔE00 4.57
Forest Green
#2D5A27
ΔE00 4.65
Bottle Green
#044A05
ΔE00 5.15
Darkgreen (survey)
#054907
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A550D #380D55
analogous
#4E550D #2A550D #0D5514
triadic
#2A550D #0D2A55 #550D2A
tetradic
#2A550D #0D4E55 #380D55 #55140D
square
#2A550D #0D4E55 #380D55 #55140D
split-complementary
#2A550D #140D55 #550D4E
monochromatic
#0D1B04 #102005 #2A550D #448A15 #5EBF1D
Accessibility & contrast
On white
8.74
#2A550D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2A550D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A550D
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A550D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A550D | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#285248
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a550d; /* rgb */ color: rgb(42, 85, 13); /* oklch */ color: oklch(40.3% 0.110 136.0);
Tailwind
colors: {
custom: {
50: '#698552',
500: '#2a550d',
950: '#000000',
},
}SCSS
$custom: #2a550d; $custom-light: #698552; $custom-dark: #000000;
JSON
{
"hex": "#2a550d",
"rgb": {
"r": 42,
"g": 85,
"b": 13
},
"hsl": {
"h": 95.833,
"s": 73.469,
"l": 19.216
},
"oklch": {
"l": 0.40303,
"c": 0.11013,
"h": 136
},
"luminance": 0.07018
}Semantic roles & 50–950 ramp
primary
#2A550D
secondary
#682E90
accent
#38F0A6
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78