#A5AF33#A5AF33
#A5AF33 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.144 H 114.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AF33 |
|---|---|
| RGB | rgb(165, 175, 51) |
| HSL | hsl(65, 55%, 44%) |
| HSV | hsv(65, 71%, 69%) |
| CMYK | cmyk(5.7%, 0%, 70.9%, 31.4%) |
| CIE-LAB | lab(68.68, -19.18, 58.93) |
| CIE-LCH | lch(68.68, 61.97, 108.03°) |
| OKLab | oklab(72.34% -0.0584 0.1312) |
| OKLCH | oklch(72.34% 0.144 114) |
| XYZ | xyz(31.4455, 38.8989, 8.9831) |
| Luminance | 0.3890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.08
Mustard Green
#A8B504
ΔE00 3.45
Pea Soup Green
#94A617
ΔE00 3.73
Barf Green
#94AC02
ΔE00 3.84
Booger
#9BB53C
ΔE00 3.95
Vomit
#A2A415
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AF33 #3D33AF
analogous
#AF7B33 #A5AF33 #67AF33
triadic
#A5AF33 #33A5AF #AF33A5
tetradic
#A5AF33 #33AF7B #3D33AF #AF3367
square
#A5AF33 #33AF7B #3D33AF #AF3367
split-complementary
#A5AF33 #3367AF #7B33AF
monochromatic
#4C5017 #788025 #A5AF33 #C3CD52 #D3DB82
Accessibility & contrast
On white
2.39
#A5AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#A5AF33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AF33
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AF33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AF33 | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA61E
Deuteranopia (green-blind)
#BBA93D
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a5af33; /* rgb */ color: rgb(165, 175, 51); /* oklch */ color: oklch(72.3% 0.144 114.0);
Tailwind
colors: {
custom: {
50: '#c3c673',
500: '#a5af33',
950: '#000000',
},
}SCSS
$custom: #a5af33; $custom-light: #c3c673; $custom-dark: #000000;
JSON
{
"hex": "#a5af33",
"rgb": {
"r": 165,
"g": 175,
"b": 51
},
"hsl": {
"h": 64.839,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.7234,
"c": 0.14361,
"h": 114
},
"luminance": 0.38898
}Semantic roles & 50–950 ramp
primary
#A5AF33
secondary
#807AC4
accent
#4ADE56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B