#AFA13A#AFA13A
#AFA13A is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.123 H 101.5°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA13A |
|---|---|
| RGB | rgb(175, 161, 58) |
| HSL | hsl(53, 50%, 46%) |
| HSV | hsv(53, 67%, 69%) |
| CMYK | cmyk(0%, 8%, 66.9%, 31.4%) |
| CIE-LAB | lab(65.68, -7.19, 53.39) |
| CIE-LCH | lch(65.68, 53.87, 97.67°) |
| OKLab | oklab(70.17% -0.0245 0.1204) |
| OKLCH | oklch(70.17% 0.123 101.5) |
| XYZ | xyz(31.1891, 34.9105, 9.0977) |
| Luminance | 0.3491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.23
Puke
#A5A502
ΔE00 5.35
Brown Yellow
#B29705
ΔE00 5.47
Muddy Yellow
#BFAC05
ΔE00 5.91
Khaki (survey)
#AAA662
ΔE00 6.54
Baby Poo
#AB9004
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA13A #3A48AF
analogous
#AF673A #AFA13A #82AF3A
triadic
#AFA13A #3AAFA1 #A13AAF
tetradic
#AFA13A #3AAF67 #3A48AF #AF3A82
square
#AFA13A #3AAF67 #3A48AF #AF3A82
split-complementary
#AFA13A #3A82AF #673AAF
monochromatic
#534C1C #81772B #AFA13A #C9BC5D #D9CF8B
Accessibility & contrast
On white
2.63
#AFA13A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#AFA13A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA13A
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA13A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA13A | 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)
#B09C2C
Deuteranopia (green-blind)
#B4A240
Tritanopia (blue-blind)
#BC968C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #afa13a; /* rgb */ color: rgb(175, 161, 58); /* oklch */ color: oklch(70.2% 0.123 101.5);
Tailwind
colors: {
custom: {
50: '#cabc76',
500: '#afa13a',
950: '#000000',
},
}SCSS
$custom: #afa13a; $custom-light: #cabc76; $custom-dark: #000000;
JSON
{
"hex": "#afa13a",
"rgb": {
"r": 175,
"g": 161,
"b": 58
},
"hsl": {
"h": 52.821,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.70167,
"c": 0.12286,
"h": 101.5
},
"luminance": 0.34909
}Semantic roles & 50–950 ramp
primary
#AFA13A
secondary
#828AC3
accent
#5FDA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B