#A8A727#A8A727
#A8A727 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.142 H 109.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A727 |
|---|---|
| RGB | rgb(168, 167, 39) |
| HSL | hsl(60, 62%, 41%) |
| HSV | hsv(60, 77%, 66%) |
| CMYK | cmyk(0%, 0.6%, 76.8%, 34.1%) |
| CIE-LAB | lab(66.60, -14.36, 61.20) |
| CIE-LCH | lch(66.60, 62.87, 103.20°) |
| OKLab | oklab(70.72% -0.0462 0.1338) |
| OKLCH | oklch(70.72% 0.142 109.1) |
| XYZ | xyz(30.3345, 36.1097, 7.2910) |
| Luminance | 0.3611 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.56
Puke
#A5A502
ΔE00 1.88
Pea Soup Green
#94A617
ΔE00 4.74
Mustard Green
#A8B504
ΔE00 4.98
Puke Green
#9AAE07
ΔE00 5.00
Pea Soup
#929901
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A727 #2728A8
analogous
#A86627 #A8A727 #68A827
triadic
#A8A727 #27A8A7 #A727A8
tetradic
#A8A727 #27A866 #2728A8 #A82768
square
#A8A727 #27A866 #2728A8 #A82768
split-complementary
#A8A727 #2768A8 #6627A8
monochromatic
#454410 #76761B #A8A727 #D1D03B #DDDC6C
Accessibility & contrast
On white
2.55
#A8A727 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#A8A727 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A727
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A727 | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#B49C8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a727; /* rgb */ color: rgb(168, 167, 39); /* oklch */ color: oklch(70.7% 0.142 109.1);
Tailwind
colors: {
custom: {
50: '#c6c06c',
500: '#a8a727',
950: '#000000',
},
}SCSS
$custom: #a8a727; $custom-light: #c6c06c; $custom-dark: #000000;
JSON
{
"hex": "#a8a727",
"rgb": {
"r": 168,
"g": 167,
"b": 39
},
"hsl": {
"h": 59.535,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.70718,
"c": 0.14151,
"h": 109.1
},
"luminance": 0.36109
}Semantic roles & 50–950 ramp
primary
#A8A727
secondary
#6768C3
accent
#44E542
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A