#A7A627#A7A627
#A7A627 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.141 H 109.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A627 |
|---|---|
| RGB | rgb(167, 166, 39) |
| HSL | hsl(60, 62%, 40%) |
| HSV | hsv(60, 77%, 65%) |
| CMYK | cmyk(0%, 0.6%, 76.6%, 34.5%) |
| CIE-LAB | lab(66.24, -14.28, 60.84) |
| CIE-LCH | lch(66.24, 62.49, 103.21°) |
| OKLab | oklab(70.41% -0.046 0.133) |
| OKLCH | oklch(70.41% 0.141 109.1) |
| XYZ | xyz(29.9399, 35.6354, 7.2203) |
| Luminance | 0.3563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.42
Puke
#A5A502
ΔE00 1.88
Pea Soup Green
#94A617
ΔE00 4.66
Pea Soup
#929901
ΔE00 5.00
Puke Green
#9AAE07
ΔE00 5.09
Mustard Green
#A8B504
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A627 #2728A7
analogous
#A76627 #A7A627 #68A727
triadic
#A7A627 #27A7A6 #A627A7
tetradic
#A7A627 #27A766 #2728A7 #A72768
square
#A7A627 #27A766 #2728A7 #A72768
split-complementary
#A7A627 #2768A7 #6627A7
monochromatic
#444310 #75751B #A7A627 #D1D03A #DDDC6C
Accessibility & contrast
On white
2.58
#A7A627 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#A7A627 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A627
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A627 | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F05
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B39B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a7a627; /* rgb */ color: rgb(167, 166, 39); /* oklch */ color: oklch(70.4% 0.141 109.1);
Tailwind
colors: {
custom: {
50: '#c5c06c',
500: '#a7a627',
950: '#000000',
},
}SCSS
$custom: #a7a627; $custom-light: #c5c06c; $custom-dark: #000000;
JSON
{
"hex": "#a7a627",
"rgb": {
"r": 167,
"g": 166,
"b": 39
},
"hsl": {
"h": 59.531,
"s": 62.136,
"l": 40.392
},
"oklch": {
"l": 0.70407,
"c": 0.14074,
"h": 109.1
},
"luminance": 0.35634
}Semantic roles & 50–950 ramp
primary
#A7A627
secondary
#6767C3
accent
#44E543
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A