#AFBD48#AFBD48
#AFBD48 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.141 H 115.6°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD48 |
|---|---|
| RGB | rgb(175, 189, 72) |
| HSL | hsl(67, 47%, 51%) |
| HSV | hsv(67, 62%, 74%) |
| CMYK | cmyk(7.4%, 0%, 61.9%, 25.9%) |
| CIE-LAB | lab(73.53, -20.67, 55.75) |
| CIE-LCH | lch(73.53, 59.46, 110.34°) |
| OKLab | oklab(76.47% -0.0611 0.1275) |
| OKLCH | oklch(76.47% 0.141 115.6) |
| XYZ | xyz(37.0473, 45.9776, 13.0526) |
| Luminance | 0.4598 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.75
Booger
#9BB53C
ΔE00 3.85
Pea
#A4BF20
ΔE00 3.92
Snot
#ACBB0D
ΔE00 4.35
Light Olive Green
#A4BE5C
ΔE00 4.39
Gross Green
#A0BF16
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD48 #5648BD
analogous
#BD9048 #AFBD48 #74BD48
triadic
#AFBD48 #48AFBD #BD48AF
tetradic
#AFBD48 #48BD90 #5648BD #BD4874
square
#AFBD48 #48BD90 #5648BD #BD4874
split-complementary
#AFBD48 #4874BD #9048BD
monochromatic
#5E6625 #889335 #AFBD48 #C3CD75 #D6DDA2
Accessibility & contrast
On white
2.06
#AFBD48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.20
#AFBD48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD48
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD48 | 1.00 | 2.06 | 10.20 | 10.20 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#C8B650
Tritanopia (blue-blind)
#B9B3A4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbd48; /* rgb */ color: rgb(175, 189, 72); /* oklch */ color: oklch(76.5% 0.141 115.6);
Tailwind
colors: {
custom: {
50: '#c9d080',
500: '#afbd48',
950: '#000000',
},
}SCSS
$custom: #afbd48; $custom-light: #c9d080; $custom-dark: #000000;
JSON
{
"hex": "#afbd48",
"rgb": {
"r": 175,
"g": 189,
"b": 72
},
"hsl": {
"h": 67.179,
"s": 46.988,
"l": 51.176
},
"oklch": {
"l": 0.76469,
"c": 0.14134,
"h": 115.6
},
"luminance": 0.45977
}Semantic roles & 50–950 ramp
primary
#AFBD48
secondary
#9D97CA
accent
#51D761
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C