#AFA92B#AFA92B
#AFA92B is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.8% C 0.140 H 106.6°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA92B |
|---|---|
| RGB | rgb(175, 169, 43) |
| HSL | hsl(57, 61%, 43%) |
| HSV | hsv(57, 75%, 69%) |
| CMYK | cmyk(0%, 3.4%, 75.4%, 31.4%) |
| CIE-LAB | lab(67.77, -12.16, 61.18) |
| CIE-LCH | lch(67.77, 62.38, 101.24°) |
| OKLab | oklab(71.8% -0.0401 0.1342) |
| OKLCH | oklch(71.8% 0.14 106.6) |
| XYZ | xyz(32.3045, 37.6655, 7.8535) |
| Luminance | 0.3766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.72
Vomit
#A2A415
ΔE00 2.93
Muddy Yellow
#BFAC05
ΔE00 4.62
Olive Yellow
#C2B709
ΔE00 5.30
Mustard Green
#A8B504
ΔE00 5.44
Puke Green
#9AAE07
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA92B #2B31AF
analogous
#AF672B #AFA92B #73AF2B
triadic
#AFA92B #2BAFA9 #A92BAF
tetradic
#AFA92B #2BAF67 #2B31AF #AF2B73
square
#AFA92B #2BAF67 #2B31AF #AF2B73
split-complementary
#AFA92B #2B73AF #672BAF
monochromatic
#4D4A13 #7E7A1F #AFA92B #D1CB46 #DED977
Accessibility & contrast
On white
2.46
#AFA92B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#AFA92B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA92B
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA92B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA92B | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A20F
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#BC9D91
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa92b; /* rgb */ color: rgb(175, 169, 43); /* oklch */ color: oklch(71.8% 0.140 106.6);
Tailwind
colors: {
custom: {
50: '#cbc26e',
500: '#afa92b',
950: '#000000',
},
}SCSS
$custom: #afa92b; $custom-light: #cbc26e; $custom-dark: #000000;
JSON
{
"hex": "#afa92b",
"rgb": {
"r": 175,
"g": 169,
"b": 43
},
"hsl": {
"h": 57.273,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.71802,
"c": 0.14004,
"h": 106.6
},
"luminance": 0.37664
}Semantic roles & 50–950 ramp
primary
#AFA92B
secondary
#7074C5
accent
#4BE444
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B