#AFBD47#AFBD47
#AFBD47 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.142 H 115.6°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD47 |
|---|---|
| RGB | rgb(175, 189, 71) |
| HSL | hsl(67, 47%, 51%) |
| HSV | hsv(67, 62%, 74%) |
| CMYK | cmyk(7.4%, 0%, 62.4%, 25.9%) |
| CIE-LAB | lab(73.52, -20.74, 56.17) |
| CIE-LCH | lch(73.52, 59.87, 110.27°) |
| OKLab | oklab(76.46% -0.0614 0.1282) |
| OKLCH | oklch(76.46% 0.142 115.6) |
| XYZ | xyz(37.0149, 45.9646, 12.8822) |
| Luminance | 0.4596 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.70
Pea
#A4BF20
ΔE00 3.82
Booger
#9BB53C
ΔE00 3.86
Snot
#ACBB0D
ΔE00 4.23
Light Olive Green
#A4BE5C
ΔE00 4.49
Gross Green
#A0BF16
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD47 #5547BD
analogous
#BD9047 #AFBD47 #74BD47
triadic
#AFBD47 #47AFBD #BD47AF
tetradic
#AFBD47 #47BD90 #5547BD #BD4774
square
#AFBD47 #47BD90 #5547BD #BD4774
split-complementary
#AFBD47 #4774BD #9047BD
monochromatic
#5E6524 #879234 #AFBD47 #C3CD74 #D6DDA1
Accessibility & contrast
On white
2.06
#AFBD47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#AFBD47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD47
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD47 | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB438
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#B9B3A4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbd47; /* rgb */ color: rgb(175, 189, 71); /* oklch */ color: oklch(76.5% 0.142 115.6);
Tailwind
colors: {
custom: {
50: '#cad080',
500: '#afbd47',
950: '#000000',
},
}SCSS
$custom: #afbd47; $custom-light: #cad080; $custom-dark: #000000;
JSON
{
"hex": "#afbd47",
"rgb": {
"r": 175,
"g": 189,
"b": 71
},
"hsl": {
"h": 67.119,
"s": 47.2,
"l": 50.98
},
"oklch": {
"l": 0.7646,
"c": 0.14214,
"h": 115.6
},
"luminance": 0.45964
}Semantic roles & 50–950 ramp
primary
#AFBD47
secondary
#9C96CA
accent
#51D761
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C