#A5A730#A5A730
#A5A730 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.5% C 0.137 H 110.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A730 |
|---|---|
| RGB | rgb(165, 167, 48) |
| HSL | hsl(61, 55%, 42%) |
| HSV | hsv(61, 71%, 65%) |
| CMYK | cmyk(1.2%, 0%, 71.3%, 34.5%) |
| CIE-LAB | lab(66.41, -15.26, 57.82) |
| CIE-LCH | lch(66.41, 59.80, 104.78°) |
| OKLab | oklab(70.52% -0.0477 0.1283) |
| OKLCH | oklch(70.52% 0.137 110.4) |
| XYZ | xyz(29.8703, 35.8510, 8.1422) |
| Luminance | 0.3585 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.08
Puke
#A5A502
ΔE00 2.87
Pea Soup Green
#94A617
ΔE00 4.05
Puke Green
#9AAE07
ΔE00 4.64
Pea Soup
#929901
ΔE00 5.10
Mustard Green
#A8B504
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A730 #3230A7
analogous
#A76D30 #A5A730 #6AA730
triadic
#A5A730 #30A5A7 #A730A5
tetradic
#A5A730 #30A76D #3230A7 #A7306A
square
#A5A730 #30A76D #3230A7 #A7306A
split-complementary
#A5A730 #306AA7 #6D30A7
monochromatic
#474815 #767722 #A5A730 #C9CB49 #D7D879
Accessibility & contrast
On white
2.57
#A5A730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#A5A730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A730
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A730 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A01B
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#B19C90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a730; /* rgb */ color: rgb(165, 167, 48); /* oklch */ color: oklch(70.5% 0.137 110.4);
Tailwind
colors: {
custom: {
50: '#c3c071',
500: '#a5a730',
950: '#000000',
},
}SCSS
$custom: #a5a730; $custom-light: #c3c071; $custom-dark: #000000;
JSON
{
"hex": "#a5a730",
"rgb": {
"r": 165,
"g": 167,
"b": 48
},
"hsl": {
"h": 61.008,
"s": 55.349,
"l": 42.157
},
"oklch": {
"l": 0.70515,
"c": 0.13693,
"h": 110.4
},
"luminance": 0.3585
}Semantic roles & 50–950 ramp
primary
#A5A730
secondary
#7372C1
accent
#49DF4C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B