#A5A623#A5A623
#A5A623 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.143 H 110.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A623 |
|---|---|
| RGB | rgb(165, 166, 35) |
| HSL | hsl(60, 65%, 39%) |
| HSV | hsv(60, 79%, 65%) |
| CMYK | cmyk(0.6%, 0%, 78.9%, 34.9%) |
| CIE-LAB | lab(66.05, -15.31, 61.85) |
| CIE-LCH | lch(66.05, 63.72, 103.91°) |
| OKLab | oklab(70.21% -0.0491 0.1345) |
| OKLCH | oklch(70.21% 0.143 110) |
| XYZ | xyz(29.4577, 35.3940, 6.8698) |
| Luminance | 0.3539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.01
Puke
#A5A502
ΔE00 1.67
Pea Soup Green
#94A617
ΔE00 4.14
Puke Green
#9AAE07
ΔE00 4.59
Pea Soup
#929901
ΔE00 4.68
Mustard Green
#A8B504
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A623 #2423A6
analogous
#A66623 #A5A623 #64A623
triadic
#A5A623 #23A5A6 #A623A5
tetradic
#A5A623 #23A666 #2423A6 #A62364
square
#A5A623 #23A666 #2423A6 #A62364
split-complementary
#A5A623 #2364A6 #6623A6
monochromatic
#41410E #737318 #A5A623 #D3D432 #DEDF65
Accessibility & contrast
On white
2.60
#A5A623 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#A5A623 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A623
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A623 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A623 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#B19B8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a623; /* rgb */ color: rgb(165, 166, 35); /* oklch */ color: oklch(70.2% 0.143 110.0);
Tailwind
colors: {
custom: {
50: '#c3c06a',
500: '#a5a623',
950: '#000000',
},
}SCSS
$custom: #a5a623; $custom-light: #c3c06a; $custom-dark: #000000;
JSON
{
"hex": "#a5a623",
"rgb": {
"r": 165,
"g": 166,
"b": 35
},
"hsl": {
"h": 60.458,
"s": 65.174,
"l": 39.412
},
"oklch": {
"l": 0.70212,
"c": 0.14318,
"h": 110
},
"luminance": 0.35393
}Semantic roles & 50–950 ramp
primary
#A5A623
secondary
#6261C4
accent
#40E841
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A