#A5AF2B#A5AF2B
#A5AF2B is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.148 H 113.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AF2B |
|---|---|
| RGB | rgb(165, 175, 43) |
| HSL | hsl(65, 61%, 43%) |
| HSV | hsv(65, 75%, 69%) |
| CMYK | cmyk(5.7%, 0%, 75.4%, 31.4%) |
| CIE-LAB | lab(68.63, -19.57, 61.69) |
| CIE-LCH | lch(68.63, 64.72, 107.60°) |
| OKLab | oklab(72.29% -0.0602 0.1356) |
| OKLCH | oklch(72.29% 0.148 113.9) |
| XYZ | xyz(31.2840, 38.8343, 8.1328) |
| Luminance | 0.3883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.63
Mustard Green
#A8B504
ΔE00 2.81
Barf Green
#94AC02
ΔE00 3.55
Pea Soup Green
#94A617
ΔE00 3.60
Vomit
#A2A415
ΔE00 3.64
Snot
#ACBB0D
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AF2B #352BAF
analogous
#AF772B #A5AF2B #63AF2B
triadic
#A5AF2B #2BA5AF #AF2BA5
tetradic
#A5AF2B #2BAF77 #352BAF #AF2B63
square
#A5AF2B #2BAF77 #352BAF #AF2B63
split-complementary
#A5AF2B #2B63AF #772BAF
monochromatic
#484D13 #777E1F #A5AF2B #C7D146 #D6DE77
Accessibility & contrast
On white
2.40
#A5AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#A5AF2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AF2B
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AF2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AF2B | 1.00 | 2.40 | 8.77 | 8.77 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA60B
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a5af2b; /* rgb */ color: rgb(165, 175, 43); /* oklch */ color: oklch(72.3% 0.148 113.9);
Tailwind
colors: {
custom: {
50: '#c3c66f',
500: '#a5af2b',
950: '#000000',
},
}SCSS
$custom: #a5af2b; $custom-light: #c3c66f; $custom-dark: #000000;
JSON
{
"hex": "#a5af2b",
"rgb": {
"r": 165,
"g": 175,
"b": 43
},
"hsl": {
"h": 64.545,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.72287,
"c": 0.14838,
"h": 113.9
},
"luminance": 0.38834
}Semantic roles & 50–950 ramp
primary
#A5AF2B
secondary
#7770C5
accent
#44E450
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B