#AFA03A#AFA03A
#AFA03A is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.122 H 100.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA03A |
|---|---|
| RGB | rgb(175, 160, 58) |
| HSL | hsl(52, 50%, 46%) |
| HSV | hsv(52, 67%, 69%) |
| CMYK | cmyk(0%, 8.6%, 66.9%, 31.4%) |
| CIE-LAB | lab(65.41, -6.66, 53.11) |
| CIE-LCH | lch(65.41, 53.52, 97.15°) |
| OKLab | oklab(69.95% -0.023 0.1198) |
| OKLCH | oklch(69.95% 0.122 100.9) |
| XYZ | xyz(31.0150, 34.5624, 9.0397) |
| Luminance | 0.3456 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.22
Vomit
#A2A415
ΔE00 5.54
Puke
#A5A502
ΔE00 5.65
Muddy Yellow
#BFAC05
ΔE00 6.07
Baby Poo
#AB9004
ΔE00 6.29
Baby Shit Brown
#AD900D
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA03A #3A49AF
analogous
#AF653A #AFA03A #83AF3A
triadic
#AFA03A #3AAFA0 #A03AAF
tetradic
#AFA03A #3AAF65 #3A49AF #AF3A83
square
#AFA03A #3AAF65 #3A49AF #AF3A83
split-complementary
#AFA03A #3A83AF #653AAF
monochromatic
#534C1C #81762B #AFA03A #C9BB5D #D9CF8B
Accessibility & contrast
On white
2.65
#AFA03A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#AFA03A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA03A
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA03A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA03A | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B2D
Deuteranopia (green-blind)
#B3A140
Tritanopia (blue-blind)
#BC958B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #afa03a; /* rgb */ color: rgb(175, 160, 58); /* oklch */ color: oklch(70.0% 0.122 100.9);
Tailwind
colors: {
custom: {
50: '#cabb76',
500: '#afa03a',
950: '#000000',
},
}SCSS
$custom: #afa03a; $custom-light: #cabb76; $custom-dark: #000000;
JSON
{
"hex": "#afa03a",
"rgb": {
"r": 175,
"g": 160,
"b": 58
},
"hsl": {
"h": 52.308,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.69951,
"c": 0.12198,
"h": 100.9
},
"luminance": 0.34561
}Semantic roles & 50–950 ramp
primary
#AFA03A
secondary
#828AC3
accent
#60DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B