#AFBB49#AFBB49
#AFBB49 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.138 H 114.8°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB49 |
|---|---|
| RGB | rgb(175, 187, 73) |
| HSL | hsl(66, 46%, 51%) |
| HSV | hsv(66, 61%, 73%) |
| CMYK | cmyk(6.4%, 0%, 61%, 26.7%) |
| CIE-LAB | lab(72.98, -19.60, 54.72) |
| CIE-LCH | lch(72.98, 58.13, 109.71°) |
| OKLab | oklab(76.03% -0.058 0.1254) |
| OKLCH | oklch(76.03% 0.138 114.8) |
| XYZ | xyz(36.6529, 45.1362, 13.0834) |
| Luminance | 0.4514 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.89
Sick Green
#9DB92C
ΔE00 4.02
Pea
#A4BF20
ΔE00 4.37
Light Olive Green
#A4BE5C
ΔE00 4.52
Snot
#ACBB0D
ΔE00 4.53
Mustard Green
#A8B504
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB49 #5549BB
analogous
#BB8E49 #AFBB49 #76BB49
triadic
#AFBB49 #49AFBB #BB49AF
tetradic
#AFBB49 #49BB8E #5549BB #BB4976
square
#AFBB49 #49BB8E #5549BB #BB4976
split-complementary
#AFBB49 #4976BB #8E49BB
monochromatic
#5E6425 #879136 #AFBB49 #C3CC76 #D6DCA2
Accessibility & contrast
On white
2.09
#AFBB49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#AFBB49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB49
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB49 | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B23C
Deuteranopia (green-blind)
#C7B450
Tritanopia (blue-blind)
#BAB1A3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb49; /* rgb */ color: rgb(175, 187, 73); /* oklch */ color: oklch(76.0% 0.138 114.8);
Tailwind
colors: {
custom: {
50: '#c9cf81',
500: '#afbb49',
950: '#000000',
},
}SCSS
$custom: #afbb49; $custom-light: #c9cf81; $custom-dark: #000000;
JSON
{
"hex": "#afbb49",
"rgb": {
"r": 175,
"g": 187,
"b": 73
},
"hsl": {
"h": 66.316,
"s": 45.6,
"l": 50.98
},
"oklch": {
"l": 0.76032,
"c": 0.13818,
"h": 114.8
},
"luminance": 0.45136
}Semantic roles & 50–950 ramp
primary
#AFBB49
secondary
#9C97C9
accent
#53D560
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C