#AFBA32#AFBA32
#AFBA32 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.6% C 0.153 H 114.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA32 |
|---|---|
| RGB | rgb(175, 186, 50) |
| HSL | hsl(65, 58%, 46%) |
| HSV | hsv(65, 73%, 73%) |
| CMYK | cmyk(5.9%, 0%, 73.1%, 27.1%) |
| CIE-LAB | lab(72.54, -20.48, 63.29) |
| CIE-LCH | lch(72.54, 66.52, 107.93°) |
| OKLab | oklab(75.62% -0.0627 0.1399) |
| OKLCH | oklch(75.62% 0.153 114.1) |
| XYZ | xyz(35.8149, 44.4628, 9.7125) |
| Luminance | 0.4446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.19
Mustard Green
#A8B504
ΔE00 2.56
Pea
#A4BF20
ΔE00 3.38
Bile
#B5C306
ΔE00 3.59
Baby Puke Green
#B6C406
ΔE00 3.80
Sick Green
#9DB92C
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA32 #3D32BA
analogous
#BA8132 #AFBA32 #6BBA32
triadic
#AFBA32 #32AFBA #BA32AF
tetradic
#AFBA32 #32BA81 #3D32BA #BA326B
square
#AFBA32 #32BA81 #3D32BA #BA326B
split-complementary
#AFBA32 #326BBA #8132BA
monochromatic
#545A18 #828A25 #AFBA32 #C8D257 #D8DF88
Accessibility & contrast
On white
2.12
#AFBA32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#AFBA32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA32
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA32 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B116
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#BBAFA0
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba32; /* rgb */ color: rgb(175, 186, 50); /* oklch */ color: oklch(75.6% 0.153 114.1);
Tailwind
colors: {
custom: {
50: '#cace74',
500: '#afba32',
950: '#000000',
},
}SCSS
$custom: #afba32; $custom-light: #cace74; $custom-dark: #000000;
JSON
{
"hex": "#afba32",
"rgb": {
"r": 175,
"g": 186,
"b": 50
},
"hsl": {
"h": 64.853,
"s": 57.627,
"l": 46.275
},
"oklch": {
"l": 0.75622,
"c": 0.1533,
"h": 114.1
},
"luminance": 0.44462
}Semantic roles & 50–950 ramp
primary
#AFBA32
secondary
#857FC9
accent
#47E153
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B