#AFBD46#AFBD46
#AFBD46 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.143 H 115.6°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD46 |
|---|---|
| RGB | rgb(175, 189, 70) |
| HSL | hsl(67, 47%, 51%) |
| HSV | hsv(67, 63%, 74%) |
| CMYK | cmyk(7.4%, 0%, 63%, 25.9%) |
| CIE-LAB | lab(73.51, -20.81, 56.58) |
| CIE-LCH | lch(73.51, 60.28, 110.19°) |
| OKLab | oklab(76.45% -0.0617 0.1289) |
| OKLCH | oklch(76.45% 0.143 115.6) |
| XYZ | xyz(36.9831, 45.9519, 12.7145) |
| Luminance | 0.4595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.66
Pea
#A4BF20
ΔE00 3.74
Booger
#9BB53C
ΔE00 3.88
Snot
#ACBB0D
ΔE00 4.12
Gross Green
#A0BF16
ΔE00 4.45
Light Olive Green
#A4BE5C
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD46 #5446BD
analogous
#BD8F46 #AFBD46 #73BD46
triadic
#AFBD46 #46AFBD #BD46AF
tetradic
#AFBD46 #46BD8F #5446BD #BD4673
square
#AFBD46 #46BD8F #5446BD #BD4673
split-complementary
#AFBD46 #4673BD #8F46BD
monochromatic
#5D6524 #879234 #AFBD46 #C3CD73 #D6DDA0
Accessibility & contrast
On white
2.06
#AFBD46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#AFBD46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD46
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD46 | 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)
#CAB437
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbd46; /* rgb */ color: rgb(175, 189, 70); /* oklch */ color: oklch(76.5% 0.143 115.6);
Tailwind
colors: {
custom: {
50: '#cad07f',
500: '#afbd46',
950: '#000000',
},
}SCSS
$custom: #afbd46; $custom-light: #cad07f; $custom-dark: #000000;
JSON
{
"hex": "#afbd46",
"rgb": {
"r": 175,
"g": 189,
"b": 70
},
"hsl": {
"h": 67.059,
"s": 47.41,
"l": 50.784
},
"oklch": {
"l": 0.76451,
"c": 0.14292,
"h": 115.6
},
"luminance": 0.45951
}Semantic roles & 50–950 ramp
primary
#AFBD46
secondary
#9B95CA
accent
#51D761
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C