#A7A01F#A7A01F
#A7A01F is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.139 H 106.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A01F |
|---|---|
| RGB | rgb(167, 160, 31) |
| HSL | hsl(57, 69%, 39%) |
| HSV | hsv(57, 81%, 65%) |
| CMYK | cmyk(0%, 4.2%, 81.4%, 34.5%) |
| CIE-LAB | lab(64.53, -11.45, 61.74) |
| CIE-LCH | lch(64.53, 62.79, 100.51°) |
| OKLab | oklab(69.03% -0.0387 0.1334) |
| OKLCH | oklch(69.03% 0.139 106.2) |
| XYZ | xyz(28.7557, 33.4571, 6.2392) |
| Luminance | 0.3346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.50
Puke
#A5A502
ΔE00 2.53
Pea Soup
#929901
ΔE00 4.74
Baby Poop Green
#8F9805
ΔE00 5.41
Muddy Yellow
#BFAC05
ΔE00 5.77
Brown Yellow
#B29705
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A01F #1F26A7
analogous
#A75C1F #A7A01F #6AA71F
triadic
#A7A01F #1FA7A0 #A01FA7
tetradic
#A7A01F #1FA75C #1F26A7 #A71F6A
square
#A7A01F #1FA75C #1F26A7 #A71F6A
split-complementary
#A7A01F #1F6AA7 #5C1FA7
monochromatic
#403D0C #736F15 #A7A01F #D8CF2B #E1DB5F
Accessibility & contrast
On white
2.73
#A7A01F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#A7A01F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A01F
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A01F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A01F | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B19F2B
Tritanopia (blue-blind)
#B49589
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a7a01f; /* rgb */ color: rgb(167, 160, 31); /* oklch */ color: oklch(69.0% 0.139 106.2);
Tailwind
colors: {
custom: {
50: '#c5bb68',
500: '#a7a01f',
950: '#000000',
},
}SCSS
$custom: #a7a01f; $custom-light: #c5bb68; $custom-dark: #000000;
JSON
{
"hex": "#a7a01f",
"rgb": {
"r": 167,
"g": 160,
"b": 31
},
"hsl": {
"h": 56.912,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.6903,
"c": 0.13894,
"h": 106.2
},
"luminance": 0.33456
}Semantic roles & 50–950 ramp
primary
#A7A01F
secondary
#5C61C6
accent
#45EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A