#AFBB54#AFBB54
#AFBB54 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.129 H 115.0°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB54 |
|---|---|
| RGB | rgb(175, 187, 84) |
| HSL | hsl(67, 43%, 53%) |
| HSV | hsv(67, 55%, 73%) |
| CMYK | cmyk(6.4%, 0%, 55.1%, 26.7%) |
| CIE-LAB | lab(73.09, -18.74, 49.90) |
| CIE-LCH | lch(73.09, 53.30, 110.59°) |
| OKLab | oklab(76.15% -0.0544 0.1165) |
| OKLCH | oklch(76.15% 0.129 115) |
| XYZ | xyz(37.0504, 45.2952, 15.1768) |
| Luminance | 0.4530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.60
Light Olive
#ACBF69
ΔE00 3.68
Booger
#9BB53C
ΔE00 4.17
Sick Green
#9DB92C
ΔE00 4.87
Tan Green
#A9BE70
ΔE00 5.19
Pea
#A4BF20
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB54 #6054BB
analogous
#BB9354 #AFBB54 #7BBB54
triadic
#AFBB54 #54AFBB #BB54AF
tetradic
#AFBB54 #54BB93 #6054BB #BB547B
square
#AFBB54 #54BB93 #6054BB #BB547B
split-complementary
#AFBB54 #547BBB #9354BB
monochromatic
#636A2A #8C963C #AFBB54 #C3CC80 #D8DEAC
Accessibility & contrast
On white
2.09
#AFBB54 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#AFBB54 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB54
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB54 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB54 | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B34A
Deuteranopia (green-blind)
#C6B45A
Tritanopia (blue-blind)
#B9B1A4
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb54; /* rgb */ color: rgb(175, 187, 84); /* oklch */ color: oklch(76.1% 0.129 115.0);
Tailwind
colors: {
custom: {
50: '#c9cf87',
500: '#afbb54',
950: '#000000',
},
}SCSS
$custom: #afbb54; $custom-light: #c9cf87; $custom-dark: #000000;
JSON
{
"hex": "#afbb54",
"rgb": {
"r": 175,
"g": 187,
"b": 84
},
"hsl": {
"h": 66.99,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.76149,
"c": 0.12853,
"h": 115
},
"luminance": 0.45295
}Semantic roles & 50–950 ramp
primary
#AFBB54
secondary
#A49FCC
accent
#55D364
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130B
muted
#82827C