#A79A1F#A79A1F
#A79A1F is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.7% C 0.134 H 102.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A79A1F |
|---|---|
| RGB | rgb(167, 154, 31) |
| HSL | hsl(54, 69%, 39%) |
| HSV | hsv(54, 81%, 65%) |
| CMYK | cmyk(0%, 7.8%, 81.4%, 34.5%) |
| CIE-LAB | lab(62.87, -8.28, 60.29) |
| CIE-LCH | lch(62.87, 60.86, 97.82°) |
| OKLab | oklab(67.71% -0.0299 0.1303) |
| OKLCH | oklch(67.71% 0.134 102.9) |
| XYZ | xyz(27.7406, 31.4269, 5.9008) |
| Luminance | 0.3143 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.23
Puke
#A5A502
ΔE00 4.67
Vomit
#A2A415
ΔE00 4.68
Baby Poo
#AB9004
ΔE00 4.84
Baby Shit Brown
#AD900D
ΔE00 5.27
Pea Soup
#929901
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A79A1F #1F2CA7
analogous
#A7561F #A79A1F #70A71F
triadic
#A79A1F #1FA79A #9A1FA7
tetradic
#A79A1F #1FA756 #1F2CA7 #A71F70
square
#A79A1F #1FA756 #1F2CA7 #A71F70
split-complementary
#A79A1F #1F70A7 #561FA7
monochromatic
#403B0C #736A15 #A79A1F #D8C72B #E1D55F
Accessibility & contrast
On white
2.88
#A79A1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#A79A1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A79A1F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A79A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A79A1F | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#B48E84
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a79a1f; /* rgb */ color: rgb(167, 154, 31); /* oklch */ color: oklch(67.7% 0.134 102.9);
Tailwind
colors: {
custom: {
50: '#c5b767',
500: '#a79a1f',
950: '#000000',
},
}SCSS
$custom: #a79a1f; $custom-light: #c5b767; $custom-dark: #000000;
JSON
{
"hex": "#a79a1f",
"rgb": {
"r": 167,
"g": 154,
"b": 31
},
"hsl": {
"h": 54.265,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.67706,
"c": 0.13368,
"h": 102.9
},
"luminance": 0.31426
}Semantic roles & 50–950 ramp
primary
#A79A1F
secondary
#5C66C6
accent
#4DEC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A