#A7942E#A7942E
#A7942E is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.5% C 0.120 H 98.4°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A7942E |
|---|---|
| RGB | rgb(167, 148, 46) |
| HSL | hsl(51, 57%, 42%) |
| HSV | hsv(51, 72%, 65%) |
| CMYK | cmyk(0%, 11.4%, 72.5%, 34.5%) |
| CIE-LAB | lab(61.30, -4.43, 53.65) |
| CIE-LCH | lch(61.30, 53.83, 94.72°) |
| OKLab | oklab(66.49% -0.0175 0.1191) |
| OKLCH | oklch(66.49% 0.12 98.4) |
| XYZ | xyz(27.0207, 29.5939, 6.8732) |
| Luminance | 0.2959 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.60
Baby Shit Brown
#AD900D
ΔE00 3.75
Brown Yellow
#B29705
ΔE00 4.08
Dark Gold
#B59410
ΔE00 4.73
Dark Mustard
#A88905
ΔE00 5.04
Yellowy Brown
#AE8B0C
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7942E #2E41A7
analogous
#A7582E #A7942E #7EA72E
triadic
#A7942E #2EA794 #942EA7
tetradic
#A7942E #2EA758 #2E41A7 #A72E7E
square
#A7942E #2EA758 #2E41A7 #A72E7E
split-complementary
#A7942E #2E7EA7 #582EA7
monochromatic
#473F14 #776921 #A7942E #CCB746 #D9CA76
Accessibility & contrast
On white
3.04
#A7942E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#A7942E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A7942E
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7942E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7942E | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3901E
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#B48980
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a7942e; /* rgb */ color: rgb(167, 148, 46); /* oklch */ color: oklch(66.5% 0.120 98.4);
Tailwind
colors: {
custom: {
50: '#c5b36e',
500: '#a7942e',
950: '#000000',
},
}SCSS
$custom: #a7942e; $custom-light: #c5b36e; $custom-dark: #000000;
JSON
{
"hex": "#a7942e",
"rgb": {
"r": 167,
"g": 148,
"b": 46
},
"hsl": {
"h": 50.579,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.66491,
"c": 0.12037,
"h": 98.4
},
"luminance": 0.29593
}Semantic roles & 50–950 ramp
primary
#A7942E
secondary
#707CC1
accent
#60E048
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A