#4A560F#4A560F
#4A560F is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.8% C 0.093 H 119.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4A560F |
|---|---|
| RGB | rgb(74, 86, 15) |
| HSL | hsl(70, 70%, 20%) |
| HSV | hsv(70, 83%, 34%) |
| CMYK | cmyk(14%, 0%, 82.6%, 66.3%) |
| CIE-LAB | lab(34.29, -15.06, 36.76) |
| CIE-LCH | lch(34.29, 39.72, 112.28°) |
| OKLab | oklab(42.84% -0.045 0.0809) |
| OKLCH | oklch(42.84% 0.093 119.1) |
| XYZ | xyz(6.2382, 8.1460, 1.6955) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Army Green
#4B5D16
ΔE00 2.72
Dark Olive Green
#3C4D03
ΔE00 3.60
Camouflage Green
#4B6113
ΔE00 4.19
Navy Green
#35530A
ΔE00 5.30
Camo Green
#526525
ΔE00 5.55
Green Brown
#544E03
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A560F #1B0F56
analogous
#563F0F #4A560F #26560F
triadic
#4A560F #0F4A56 #560F4A
tetradic
#4A560F #0F563F #1B0F56 #560F26
square
#4A560F #0F563F #1B0F56 #560F26
split-complementary
#4A560F #0F2656 #3F0F56
monochromatic
#161A05 #1D2206 #4A560F #778A18 #A4BE21
Accessibility & contrast
On white
7.99
#4A560F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#4A560F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A560F
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A560F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A560F | 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)
#5C5101
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#4F5149
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4a560f; /* rgb */ color: rgb(74, 86, 15); /* oklch */ color: oklch(42.8% 0.093 119.1);
Tailwind
colors: {
custom: {
50: '#7f8554',
500: '#4a560f',
950: '#000000',
},
}SCSS
$custom: #4a560f; $custom-light: #7f8554; $custom-dark: #000000;
JSON
{
"hex": "#4a560f",
"rgb": {
"r": 74,
"g": 86,
"b": 15
},
"hsl": {
"h": 70.141,
"s": 70.297,
"l": 19.804
},
"oklch": {
"l": 0.42835,
"c": 0.09254,
"h": 119.1
},
"luminance": 0.08146
}Semantic roles & 50–950 ramp
primary
#4A560F
secondary
#413190
accent
#3BED59
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78