#AFBB51#AFBB51
#AFBB51 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.131 H 115.0°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB51 |
|---|---|
| RGB | rgb(175, 187, 81) |
| HSL | hsl(67, 44%, 53%) |
| HSV | hsv(67, 57%, 73%) |
| CMYK | cmyk(6.4%, 0%, 56.7%, 26.7%) |
| CIE-LAB | lab(73.06, -18.99, 51.24) |
| CIE-LCH | lch(73.06, 54.65, 110.33°) |
| OKLab | oklab(76.11% -0.0554 0.119) |
| OKLCH | oklch(76.11% 0.131 115) |
| XYZ | xyz(36.9354, 45.2492, 14.5712) |
| Luminance | 0.4525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.83
Booger
#9BB53C
ΔE00 4.03
Light Olive
#ACBF69
ΔE00 4.05
Sick Green
#9DB92C
ΔE00 4.59
Pea
#A4BF20
ΔE00 5.18
Snot
#ACBB0D
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB51 #5D51BB
analogous
#BB9251 #AFBB51 #7ABB51
triadic
#AFBB51 #51AFBB #BB51AF
tetradic
#AFBB51 #51BB92 #5D51BB #BB517A
square
#AFBB51 #51BB92 #5D51BB #BB517A
split-complementary
#AFBB51 #517ABB #9251BB
monochromatic
#616929 #8A953A #AFBB51 #C3CC7D #D7DDA9
Accessibility & contrast
On white
2.09
#AFBB51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.05
#AFBB51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB51
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB51 | 1.00 | 2.09 | 10.05 | 10.05 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B246
Deuteranopia (green-blind)
#C6B457
Tritanopia (blue-blind)
#B9B1A4
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb51; /* rgb */ color: rgb(175, 187, 81); /* oklch */ color: oklch(76.1% 0.131 115.0);
Tailwind
colors: {
custom: {
50: '#c9cf85',
500: '#afbb51',
950: '#000000',
},
}SCSS
$custom: #afbb51; $custom-light: #c9cf85; $custom-dark: #000000;
JSON
{
"hex": "#afbb51",
"rgb": {
"r": 175,
"g": 187,
"b": 81
},
"hsl": {
"h": 66.792,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.76115,
"c": 0.13128,
"h": 115
},
"luminance": 0.45249
}Semantic roles & 50–950 ramp
primary
#AFBB51
secondary
#A29DCB
accent
#54D463
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C