#A5A124#A5A124
#A5A124 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.138 H 107.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A124 |
|---|---|
| RGB | rgb(165, 161, 36) |
| HSL | hsl(58, 64%, 39%) |
| HSV | hsv(58, 78%, 65%) |
| CMYK | cmyk(0%, 2.4%, 78.2%, 35.3%) |
| CIE-LAB | lab(64.66, -12.68, 60.30) |
| CIE-LCH | lch(64.66, 61.61, 101.88°) |
| OKLab | oklab(69.1% -0.0417 0.1314) |
| OKLCH | oklch(69.1% 0.138 107.6) |
| XYZ | xyz(28.5815, 33.6174, 6.6520) |
| Luminance | 0.3362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.89
Puke
#A5A502
ΔE00 2.31
Pea Soup
#929901
ΔE00 4.30
Baby Poop Green
#8F9805
ΔE00 4.93
Pea Soup Green
#94A617
ΔE00 5.36
Puke Green
#9AAE07
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A124 #2428A5
analogous
#A56124 #A5A124 #68A524
triadic
#A5A124 #24A5A1 #A124A5
tetradic
#A5A124 #24A561 #2428A5 #A52468
square
#A5A124 #24A561 #2428A5 #A52468
split-complementary
#A5A124 #2468A5 #6124A5
monochromatic
#413F0E #737019 #A5A124 #D3CE34 #DEDA66
Accessibility & contrast
On white
2.72
#A5A124 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#A5A124 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A124
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A124 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A124 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#B1968A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a5a124; /* rgb */ color: rgb(165, 161, 36); /* oklch */ color: oklch(69.1% 0.138 107.6);
Tailwind
colors: {
custom: {
50: '#c3bc6a',
500: '#a5a124',
950: '#000000',
},
}SCSS
$custom: #a5a124; $custom-light: #c3bc6a; $custom-dark: #000000;
JSON
{
"hex": "#a5a124",
"rgb": {
"r": 165,
"g": 161,
"b": 36
},
"hsl": {
"h": 58.14,
"s": 64.179,
"l": 39.412
},
"oklch": {
"l": 0.69098,
"c": 0.13782,
"h": 107.6
},
"luminance": 0.33616
}Semantic roles & 50–950 ramp
primary
#A5A124
secondary
#6265C3
accent
#46E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A