#AFB732#AFB732
#AFB732 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.0% C 0.150 H 112.9°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB732 |
|---|---|
| RGB | rgb(175, 183, 50) |
| HSL | hsl(64, 57%, 46%) |
| HSV | hsv(64, 73%, 72%) |
| CMYK | cmyk(4.4%, 0%, 72.7%, 28.2%) |
| CIE-LAB | lab(71.70, -18.98, 62.49) |
| CIE-LCH | lch(71.70, 65.31, 106.90°) |
| OKLab | oklab(74.95% -0.0585 0.1382) |
| OKLCH | oklch(74.95% 0.15 112.9) |
| XYZ | xyz(35.1895, 43.2120, 9.5040) |
| Luminance | 0.4321 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.48
Snot
#ACBB0D
ΔE00 2.65
Pea
#A4BF20
ΔE00 4.20
Bile
#B5C306
ΔE00 4.21
Puke Green
#9AAE07
ΔE00 4.26
Sick Green
#9DB92C
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB732 #3A32B7
analogous
#B77C32 #AFB732 #6CB732
triadic
#AFB732 #32AFB7 #B732AF
tetradic
#AFB732 #32B77C #3A32B7 #B7326C
square
#AFB732 #32B77C #3A32B7 #B7326C
split-complementary
#AFB732 #326CB7 #7C32B7
monochromatic
#535718 #818725 #AFB732 #C9D156 #D9DE86
Accessibility & contrast
On white
2.18
#AFB732 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#AFB732 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB732
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB732 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB732 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE18
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#BBAC9D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb732; /* rgb */ color: rgb(175, 183, 50); /* oklch */ color: oklch(75.0% 0.150 112.9);
Tailwind
colors: {
custom: {
50: '#cacc73',
500: '#afb732',
950: '#000000',
},
}SCSS
$custom: #afb732; $custom-light: #cacc73; $custom-dark: #000000;
JSON
{
"hex": "#afb732",
"rgb": {
"r": 175,
"g": 183,
"b": 50
},
"hsl": {
"h": 63.609,
"s": 57.082,
"l": 45.686
},
"oklch": {
"l": 0.74951,
"c": 0.15009,
"h": 112.9
},
"luminance": 0.43211
}Semantic roles & 50–950 ramp
primary
#AFB732
secondary
#827DC7
accent
#47E051
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B