#AFA13B#AFA13B
#AFA13B is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.122 H 101.5°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA13B |
|---|---|
| RGB | rgb(175, 161, 59) |
| HSL | hsl(53, 50%, 46%) |
| HSV | hsv(53, 66%, 69%) |
| CMYK | cmyk(0%, 8%, 66.3%, 31.4%) |
| CIE-LAB | lab(65.69, -7.13, 52.97) |
| CIE-LCH | lch(65.69, 53.45, 97.67°) |
| OKLab | oklab(70.18% -0.0242 0.1197) |
| OKLCH | oklch(70.18% 0.122 101.5) |
| XYZ | xyz(31.2148, 34.9208, 9.2330) |
| Luminance | 0.3492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.31
Puke
#A5A502
ΔE00 5.44
Brown Yellow
#B29705
ΔE00 5.54
Muddy Yellow
#BFAC05
ΔE00 6.01
Khaki (survey)
#AAA662
ΔE00 6.44
Baby Poo
#AB9004
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA13B #3B49AF
analogous
#AF673B #AFA13B #83AF3B
triadic
#AFA13B #3BAFA1 #A13BAF
tetradic
#AFA13B #3BAF67 #3B49AF #AF3B83
square
#AFA13B #3BAF67 #3B49AF #AF3B83
split-complementary
#AFA13B #3B83AF #673BAF
monochromatic
#534D1C #81772C #AFA13B #C9BC5E #D8CF8C
Accessibility & contrast
On white
2.63
#AFA13B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#AFA13B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA13B
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA13B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA13B | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C2E
Deuteranopia (green-blind)
#B4A241
Tritanopia (blue-blind)
#BC968C
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa13b; /* rgb */ color: rgb(175, 161, 59); /* oklch */ color: oklch(70.2% 0.122 101.5);
Tailwind
colors: {
custom: {
50: '#cabc76',
500: '#afa13b',
950: '#000000',
},
}SCSS
$custom: #afa13b; $custom-light: #cabc76; $custom-dark: #000000;
JSON
{
"hex": "#afa13b",
"rgb": {
"r": 175,
"g": 161,
"b": 59
},
"hsl": {
"h": 52.759,
"s": 49.573,
"l": 45.882
},
"oklch": {
"l": 0.70176,
"c": 0.1221,
"h": 101.5
},
"luminance": 0.34919
}Semantic roles & 50–950 ramp
primary
#AFA13B
secondary
#838BC3
accent
#5FD94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B