#AFA83A#AFA83A
#AFA83A is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.129 H 105.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA83A |
|---|---|
| RGB | rgb(175, 168, 58) |
| HSL | hsl(56, 50%, 46%) |
| HSV | hsv(56, 67%, 69%) |
| CMYK | cmyk(0%, 4%, 66.9%, 31.4%) |
| CIE-LAB | lab(67.60, -10.88, 55.37) |
| CIE-LCH | lch(67.60, 56.43, 101.11°) |
| OKLab | oklab(71.69% -0.035 0.1246) |
| OKLCH | oklch(71.69% 0.129 105.7) |
| XYZ | xyz(32.4468, 37.4259, 9.5169) |
| Luminance | 0.3743 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.76
Puke
#A5A502
ΔE00 3.95
Muddy Yellow
#BFAC05
ΔE00 5.56
Olive Yellow
#C2B709
ΔE00 6.42
Mustard Green
#A8B504
ΔE00 6.50
Khaki (survey)
#AAA662
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA83A #3A41AF
analogous
#AF6D3A #AFA83A #7BAF3A
triadic
#AFA83A #3AAFA8 #A83AAF
tetradic
#AFA83A #3AAF6D #3A41AF #AF3A7B
square
#AFA83A #3AAF6D #3A41AF #AF3A7B
split-complementary
#AFA83A #3A7BAF #6D3AAF
monochromatic
#53501C #817C2B #AFA83A #C9C35D #D9D48B
Accessibility & contrast
On white
2.47
#AFA83A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#AFA83A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA83A
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA83A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA83A | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A22B
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#BC9D92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa83a; /* rgb */ color: rgb(175, 168, 58); /* oklch */ color: oklch(71.7% 0.129 105.7);
Tailwind
colors: {
custom: {
50: '#cac176',
500: '#afa83a',
950: '#000000',
},
}SCSS
$custom: #afa83a; $custom-light: #cac176; $custom-dark: #000000;
JSON
{
"hex": "#afa83a",
"rgb": {
"r": 175,
"g": 168,
"b": 58
},
"hsl": {
"h": 56.41,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.71691,
"c": 0.12939,
"h": 105.7
},
"luminance": 0.37425
}Semantic roles & 50–950 ramp
primary
#AFA83A
secondary
#8286C3
accent
#56DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B