#AFB329#AFB329
#AFB329 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.0% C 0.151 H 111.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB329 |
|---|---|
| RGB | rgb(175, 179, 41) |
| HSL | hsl(62, 63%, 43%) |
| HSV | hsv(62, 77%, 70%) |
| CMYK | cmyk(2.2%, 0%, 77.1%, 29.8%) |
| CIE-LAB | lab(70.54, -17.36, 64.37) |
| CIE-LCH | lch(70.54, 66.67, 105.10°) |
| OKLab | oklab(74% -0.0548 0.1406) |
| OKLCH | oklch(74% 0.151 111.3) |
| XYZ | xyz(34.2007, 41.5152, 8.3090) |
| Luminance | 0.4151 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.43
Snot
#ACBB0D
ΔE00 3.22
Puke
#A5A502
ΔE00 4.18
Puke Green
#9AAE07
ΔE00 4.25
Vomit
#A2A415
ΔE00 4.31
Puke Yellow
#C2BE0E
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB329 #2D29B3
analogous
#B37229 #AFB329 #6AB329
triadic
#AFB329 #29AFB3 #B329AF
tetradic
#AFB329 #29B372 #2D29B3 #B3296A
square
#AFB329 #29B372 #2D29B3 #B3296A
split-complementary
#AFB329 #296AB3 #7229B3
monochromatic
#4E4F12 #7E811E #AFB329 #D0D445 #DDE077
Accessibility & contrast
On white
2.26
#AFB329 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#AFB329 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB329
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB329 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB329 | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#BBA899
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb329; /* rgb */ color: rgb(175, 179, 41); /* oklch */ color: oklch(74.0% 0.151 111.3);
Tailwind
colors: {
custom: {
50: '#cbc96f',
500: '#afb329',
950: '#000000',
},
}SCSS
$custom: #afb329; $custom-light: #cbc96f; $custom-dark: #000000;
JSON
{
"hex": "#afb329",
"rgb": {
"r": 175,
"g": 179,
"b": 41
},
"hsl": {
"h": 61.739,
"s": 62.727,
"l": 43.137
},
"oklch": {
"l": 0.74004,
"c": 0.15088,
"h": 111.3
},
"luminance": 0.41514
}Semantic roles & 50–950 ramp
primary
#AFB329
secondary
#7370C7
accent
#42E647
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B