#A6A31E#A6A31E
#A6A31E is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.142 H 108.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A31E |
|---|---|
| RGB | rgb(166, 163, 30) |
| HSL | hsl(59, 69%, 38%) |
| HSV | hsv(59, 82%, 65%) |
| CMYK | cmyk(0%, 1.8%, 81.9%, 34.9%) |
| CIE-LAB | lab(65.28, -13.49, 62.63) |
| CIE-LCH | lch(65.28, 64.06, 102.16°) |
| OKLab | oklab(69.6% -0.0444 0.1352) |
| OKLCH | oklch(69.6% 0.142 108.2) |
| XYZ | xyz(29.0586, 34.3961, 6.3365) |
| Luminance | 0.3439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.32
Puke
#A5A502
ΔE00 1.52
Pea Soup
#929901
ΔE00 4.51
Pea Soup Green
#94A617
ΔE00 5.12
Baby Poop Green
#8F9805
ΔE00 5.18
Puke Green
#9AAE07
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A31E #1E21A6
analogous
#A65F1E #A6A31E #65A61E
triadic
#A6A31E #1EA6A3 #A31EA6
tetradic
#A6A31E #1EA65F #1E21A6 #A61E65
square
#A6A31E #1EA65F #1E21A6 #A61E65
split-complementary
#A6A31E #1E65A6 #5F1EA6
monochromatic
#3E3D0B #727015 #A6A31E #D8D429 #E2DF5D
Accessibility & contrast
On white
2.67
#A6A31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A6A31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A31E
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A31E | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02B
Tritanopia (blue-blind)
#B3988B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a31e; /* rgb */ color: rgb(166, 163, 30); /* oklch */ color: oklch(69.6% 0.142 108.2);
Tailwind
colors: {
custom: {
50: '#c4bd68',
500: '#a6a31e',
950: '#000000',
},
}SCSS
$custom: #a6a31e; $custom-light: #c4bd68; $custom-dark: #000000;
JSON
{
"hex": "#a6a31e",
"rgb": {
"r": 166,
"g": 163,
"b": 30
},
"hsl": {
"h": 58.676,
"s": 69.388,
"l": 38.431
},
"oklch": {
"l": 0.69603,
"c": 0.14232,
"h": 108.2
},
"luminance": 0.34395
}Semantic roles & 50–950 ramp
primary
#A6A31E
secondary
#5A5CC6
accent
#3FEC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A