#AFB32A#AFB32A
#AFB32A is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.0% C 0.150 H 111.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB32A |
|---|---|
| RGB | rgb(175, 179, 42) |
| HSL | hsl(62, 62%, 43%) |
| HSV | hsv(62, 77%, 70%) |
| CMYK | cmyk(2.2%, 0%, 76.5%, 29.8%) |
| CIE-LAB | lab(70.54, -17.32, 64.06) |
| CIE-LCH | lch(70.54, 66.36, 105.13°) |
| OKLab | oklab(74.01% -0.0546 0.1401) |
| OKLCH | oklch(74.01% 0.15 111.3) |
| XYZ | xyz(34.2184, 41.5222, 8.4021) |
| Luminance | 0.4152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.48
Snot
#ACBB0D
ΔE00 3.26
Puke
#A5A502
ΔE00 4.20
Puke Green
#9AAE07
ΔE00 4.25
Vomit
#A2A415
ΔE00 4.32
Puke Yellow
#C2BE0E
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB32A #2E2AB3
analogous
#B3722A #AFB32A #6AB32A
triadic
#AFB32A #2AAFB3 #B32AAF
tetradic
#AFB32A #2AB372 #2E2AB3 #B32A6A
square
#AFB32A #2AB372 #2E2AB3 #B32A6A
split-complementary
#AFB32A #2A6AB3 #722AB3
monochromatic
#4E5013 #7F811E #AFB32A #D0D446 #DCDF78
Accessibility & contrast
On white
2.26
#AFB32A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#AFB32A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB32A
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB32A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB32A | 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)
#C1AB03
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#BBA899
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #afb32a; /* rgb */ color: rgb(175, 179, 42); /* oklch */ color: oklch(74.0% 0.150 111.3);
Tailwind
colors: {
custom: {
50: '#cbc96f',
500: '#afb32a',
950: '#000000',
},
}SCSS
$custom: #afb32a; $custom-light: #cbc96f; $custom-dark: #000000;
JSON
{
"hex": "#afb32a",
"rgb": {
"r": 175,
"g": 179,
"b": 42
},
"hsl": {
"h": 61.752,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.7401,
"c": 0.15037,
"h": 111.3
},
"luminance": 0.41521
}Semantic roles & 50–950 ramp
primary
#AFB32A
secondary
#7472C7
accent
#43E547
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B