#AFA43A#AFA43A
#AFA43A is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.8% C 0.126 H 103.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA43A |
|---|---|
| RGB | rgb(175, 164, 58) |
| HSL | hsl(54, 50%, 46%) |
| HSV | hsv(54, 67%, 69%) |
| CMYK | cmyk(0%, 6.3%, 66.9%, 31.4%) |
| CIE-LAB | lab(66.50, -8.78, 54.24) |
| CIE-LCH | lch(66.50, 54.95, 99.19°) |
| OKLab | oklab(70.82% -0.029 0.1222) |
| OKLCH | oklch(70.82% 0.126 103.4) |
| XYZ | xyz(31.7196, 35.9716, 9.2746) |
| Luminance | 0.3597 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.44
Puke
#A5A502
ΔE00 4.59
Muddy Yellow
#BFAC05
ΔE00 5.60
Brown Yellow
#B29705
ΔE00 6.32
Khaki (survey)
#AAA662
ΔE00 6.41
Pea Soup
#929901
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA43A #3A45AF
analogous
#AF693A #AFA43A #7FAF3A
triadic
#AFA43A #3AAFA4 #A43AAF
tetradic
#AFA43A #3AAF69 #3A45AF #AF3A7F
square
#AFA43A #3AAF69 #3A45AF #AF3A7F
split-complementary
#AFA43A #3A7FAF #693AAF
monochromatic
#534E1C #81792B #AFA43A #C9BF5D #D9D18B
Accessibility & contrast
On white
2.56
#AFA43A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#AFA43A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA43A
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA43A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA43A | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F2C
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#BC998E
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa43a; /* rgb */ color: rgb(175, 164, 58); /* oklch */ color: oklch(70.8% 0.126 103.4);
Tailwind
colors: {
custom: {
50: '#cabe76',
500: '#afa43a',
950: '#000000',
},
}SCSS
$custom: #afa43a; $custom-light: #cabe76; $custom-dark: #000000;
JSON
{
"hex": "#afa43a",
"rgb": {
"r": 175,
"g": 164,
"b": 58
},
"hsl": {
"h": 54.359,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.70818,
"c": 0.12558,
"h": 103.4
},
"luminance": 0.3597
}Semantic roles & 50–950 ramp
primary
#AFA43A
secondary
#8288C3
accent
#5BDA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B