#AFA93B#AFA93B
#AFA93B is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.9% C 0.130 H 106.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA93B |
|---|---|
| RGB | rgb(175, 169, 59) |
| HSL | hsl(57, 50%, 46%) |
| HSV | hsv(57, 66%, 69%) |
| CMYK | cmyk(0%, 3.4%, 66.3%, 31.4%) |
| CIE-LAB | lab(67.88, -11.34, 55.25) |
| CIE-LCH | lch(67.88, 56.40, 101.60°) |
| OKLab | oklab(71.92% -0.0362 0.1245) |
| OKLCH | oklch(71.92% 0.13 106.2) |
| XYZ | xyz(32.6578, 37.8068, 9.7140) |
| Luminance | 0.3781 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.76
Puke
#A5A502
ΔE00 3.97
Muddy Yellow
#BFAC05
ΔE00 5.69
Mustard Green
#A8B504
ΔE00 6.24
Olive Yellow
#C2B709
ΔE00 6.35
Pea Soup Green
#94A617
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA93B #3B41AF
analogous
#AF6F3B #AFA93B #7BAF3B
triadic
#AFA93B #3BAFA9 #A93BAF
tetradic
#AFA93B #3BAF6F #3B41AF #AF3B7B
square
#AFA93B #3BAF6F #3B41AF #AF3B7B
split-complementary
#AFA93B #3B7BAF #6F3BAF
monochromatic
#53511C #817D2C #AFA93B #C9C35E #D8D48C
Accessibility & contrast
On white
2.45
#AFA93B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#AFA93B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA93B
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA93B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA93B | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A32C
Deuteranopia (green-blind)
#BAA742
Tritanopia (blue-blind)
#BC9E93
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa93b; /* rgb */ color: rgb(175, 169, 59); /* oklch */ color: oklch(71.9% 0.130 106.2);
Tailwind
colors: {
custom: {
50: '#cac277',
500: '#afa93b',
950: '#000000',
},
}SCSS
$custom: #afa93b; $custom-light: #cac277; $custom-dark: #000000;
JSON
{
"hex": "#afa93b",
"rgb": {
"r": 175,
"g": 169,
"b": 59
},
"hsl": {
"h": 56.897,
"s": 49.573,
"l": 45.882
},
"oklch": {
"l": 0.71918,
"c": 0.12963,
"h": 106.2
},
"luminance": 0.37806
}Semantic roles & 50–950 ramp
primary
#AFA93B
secondary
#8386C3
accent
#56D94F
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B