#4A560B#4A560B
#4A560B is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.8% C 0.095 H 118.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4A560B |
|---|---|
| RGB | rgb(74, 86, 11) |
| HSL | hsl(70, 77%, 19%) |
| HSV | hsv(70, 87%, 34%) |
| CMYK | cmyk(14%, 0%, 87.2%, 66.3%) |
| CIE-LAB | lab(34.26, -15.25, 38.09) |
| CIE-LCH | lch(34.26, 41.03, 111.81°) |
| OKLab | oklab(42.81% -0.0458 0.0829) |
| OKLCH | oklch(42.81% 0.095 118.9) |
| XYZ | xyz(6.2124, 8.1356, 1.5596) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Army Green
#4B5D16
ΔE00 2.87
Dark Olive Green
#3C4D03
ΔE00 3.66
Camouflage Green
#4B6113
ΔE00 4.21
Navy Green
#35530A
ΔE00 5.47
Camo Green
#526525
ΔE00 5.76
Green Brown
#544E03
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A560B #170B56
analogous
#563D0B #4A560B #25560B
triadic
#4A560B #0B4A56 #560B4A
tetradic
#4A560B #0B563D #170B56 #560B25
square
#4A560B #0B563D #170B56 #560B25
split-complementary
#4A560B #0B2556 #3D0B56
monochromatic
#171B03 #1B2004 #4A560B #798C12 #A7C319
Accessibility & contrast
On white
7.99
#4A560B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#4A560B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A560B
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A560B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A560B | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5100
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#4F5148
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4a560b; /* rgb */ color: rgb(74, 86, 11); /* oklch */ color: oklch(42.8% 0.095 118.9);
Tailwind
colors: {
custom: {
50: '#7f8552',
500: '#4a560b',
950: '#000000',
},
}SCSS
$custom: #4a560b; $custom-light: #7f8552; $custom-dark: #000000;
JSON
{
"hex": "#4a560b",
"rgb": {
"r": 74,
"g": 86,
"b": 11
},
"hsl": {
"h": 69.6,
"s": 77.32,
"l": 19.02
},
"oklch": {
"l": 0.42811,
"c": 0.09474,
"h": 118.9
},
"luminance": 0.08136
}Semantic roles & 50–950 ramp
primary
#4A560B
secondary
#3C2B91
accent
#34F453
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0A0B03
muted
#7C7C78