#AFB929#AFB929
#AFB929 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.157 H 113.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB929 |
|---|---|
| RGB | rgb(175, 185, 41) |
| HSL | hsl(64, 64%, 44%) |
| HSV | hsv(64, 78%, 73%) |
| CMYK | cmyk(5.4%, 0%, 77.8%, 27.5%) |
| CIE-LAB | lab(72.21, -20.37, 65.88) |
| CIE-LCH | lch(72.21, 68.96, 107.18°) |
| OKLab | oklab(75.35% -0.0631 0.1438) |
| OKLCH | oklch(75.35% 0.157 113.7) |
| XYZ | xyz(35.4295, 43.9727, 8.7186) |
| Luminance | 0.4397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.68
Mustard Green
#A8B504
ΔE00 1.92
Bile
#B5C306
ΔE00 3.28
Baby Puke Green
#B6C406
ΔE00 3.51
Pea
#A4BF20
ΔE00 3.60
Sick Green
#9DB92C
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB929 #3329B9
analogous
#B97B29 #AFB929 #67B929
triadic
#AFB929 #29AFB9 #B929AF
tetradic
#AFB929 #29B97B #3329B9 #B92967
square
#AFB929 #29B97B #3329B9 #B92967
split-complementary
#AFB929 #2967B9 #7B29B9
monochromatic
#505513 #80871E #AFB929 #CDD749 #DBE27B
Accessibility & contrast
On white
2.14
#AFB929 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#AFB929 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB929
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB929 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB929 | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C7B236
Tritanopia (blue-blind)
#BBAE9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb929; /* rgb */ color: rgb(175, 185, 41); /* oklch */ color: oklch(75.3% 0.157 113.7);
Tailwind
colors: {
custom: {
50: '#cbcd70',
500: '#afb929',
950: '#000000',
},
}SCSS
$custom: #afb929; $custom-light: #cbcd70; $custom-dark: #000000;
JSON
{
"hex": "#afb929",
"rgb": {
"r": 175,
"g": 185,
"b": 41
},
"hsl": {
"h": 64.167,
"s": 63.717,
"l": 44.314
},
"oklch": {
"l": 0.75346,
"c": 0.15707,
"h": 113.7
},
"luminance": 0.43972
}Semantic roles & 50–950 ramp
primary
#AFB929
secondary
#7A74CA
accent
#41E74D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B