#A7A81F#A7A81F
#A7A81F is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.146 H 110.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A81F |
|---|---|
| RGB | rgb(167, 168, 31) |
| HSL | hsl(60, 69%, 39%) |
| HSV | hsv(60, 82%, 66%) |
| CMYK | cmyk(0.6%, 0%, 81.5%, 34.1%) |
| CIE-LAB | lab(66.76, -15.60, 63.67) |
| CIE-LCH | lch(66.76, 65.56, 103.77°) |
| OKLab | oklab(70.81% -0.0503 0.1376) |
| OKLCH | oklch(70.81% 0.147 110.1) |
| XYZ | xyz(30.1875, 36.3206, 6.7165) |
| Luminance | 0.3632 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.31
Puke
#A5A502
ΔE00 1.47
Mustard Green
#A8B504
ΔE00 4.34
Pea Soup Green
#94A617
ΔE00 4.37
Puke Green
#9AAE07
ΔE00 4.39
Barf Green
#94AC02
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A81F #201FA8
analogous
#A8651F #A7A81F #63A81F
triadic
#A7A81F #1FA7A8 #A81FA7
tetradic
#A7A81F #1FA865 #201FA8 #A81F63
square
#A7A81F #1FA865 #201FA8 #A81F63
split-complementary
#A7A81F #1F63A8 #651FA8
monochromatic
#40410C #747415 #A7A81F #D7D82C #E1E260
Accessibility & contrast
On white
2.54
#A7A81F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#A7A81F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A81F
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A81F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A81F | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B7A42C
Tritanopia (blue-blind)
#B39D8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a7a81f; /* rgb */ color: rgb(167, 168, 31); /* oklch */ color: oklch(70.8% 0.146 110.1);
Tailwind
colors: {
custom: {
50: '#c5c169',
500: '#a7a81f',
950: '#000000',
},
}SCSS
$custom: #a7a81f; $custom-light: #c5c169; $custom-dark: #000000;
JSON
{
"hex": "#a7a81f",
"rgb": {
"r": 167,
"g": 168,
"b": 31
},
"hsl": {
"h": 60.438,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.70814,
"c": 0.1465,
"h": 110.1
},
"luminance": 0.3632
}Semantic roles & 50–950 ramp
primary
#A7A81F
secondary
#5D5DC6
accent
#3CEC3D
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A