#A79F31#A79F31
#A79F31 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.9% C 0.128 H 105.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A79F31 |
|---|---|
| RGB | rgb(167, 159, 49) |
| HSL | hsl(56, 55%, 42%) |
| HSV | hsv(56, 71%, 65%) |
| CMYK | cmyk(0%, 4.8%, 70.7%, 34.5%) |
| CIE-LAB | lab(64.35, -10.16, 55.48) |
| CIE-LCH | lch(64.35, 56.40, 100.38°) |
| OKLab | oklab(68.92% -0.0334 0.1235) |
| OKLCH | oklch(68.92% 0.128 105.1) |
| XYZ | xyz(28.8900, 33.2346, 7.7983) |
| Luminance | 0.3323 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.58
Puke
#A5A502
ΔE00 3.97
Pea Soup
#929901
ΔE00 5.23
Baby Poop Green
#8F9805
ΔE00 5.76
Brown Yellow
#B29705
ΔE00 6.23
Pea Soup Green
#94A617
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A79F31 #3139A7
analogous
#A76431 #A79F31 #74A731
triadic
#A79F31 #31A79F #9F31A7
tetradic
#A79F31 #31A764 #3139A7 #A73174
square
#A79F31 #31A764 #3139A7 #A73174
split-complementary
#A79F31 #3174A7 #6431A7
monochromatic
#484515 #787223 #A79F31 #CAC24B #D8D27A
Accessibility & contrast
On white
2.75
#A79F31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#A79F31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A79F31
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A79F31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A79F31 | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#B39489
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a79f31; /* rgb */ color: rgb(167, 159, 49); /* oklch */ color: oklch(68.9% 0.128 105.1);
Tailwind
colors: {
custom: {
50: '#c4bb70',
500: '#a79f31',
950: '#000000',
},
}SCSS
$custom: #a79f31; $custom-light: #c4bb70; $custom-dark: #000000;
JSON
{
"hex": "#a79f31",
"rgb": {
"r": 167,
"g": 159,
"b": 49
},
"hsl": {
"h": 55.932,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.68919,
"c": 0.12796,
"h": 105.1
},
"luminance": 0.33234
}Semantic roles & 50–950 ramp
primary
#A79F31
secondary
#7378C1
accent
#54DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B