#AFBB50#AFBB50
#AFBB50 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.132 H 114.9°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB50 |
|---|---|
| RGB | rgb(175, 187, 80) |
| HSL | hsl(67, 44%, 52%) |
| HSV | hsv(67, 57%, 73%) |
| CMYK | cmyk(6.4%, 0%, 57.2%, 26.7%) |
| CIE-LAB | lab(73.05, -19.07, 51.69) |
| CIE-LCH | lch(73.05, 55.09, 110.25°) |
| OKLab | oklab(76.1% -0.0557 0.1198) |
| OKLCH | oklch(76.1% 0.132 114.9) |
| XYZ | xyz(36.8982, 45.2343, 14.3752) |
| Luminance | 0.4523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.91
Booger
#9BB53C
ΔE00 4.00
Light Olive
#ACBF69
ΔE00 4.17
Sick Green
#9DB92C
ΔE00 4.51
Pea
#A4BF20
ΔE00 5.07
Snot
#ACBB0D
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB50 #5C50BB
analogous
#BB9250 #AFBB50 #7ABB50
triadic
#AFBB50 #50AFBB #BB50AF
tetradic
#AFBB50 #50BB92 #5C50BB #BB507A
square
#AFBB50 #50BB92 #5C50BB #BB507A
split-complementary
#AFBB50 #507ABB #9250BB
monochromatic
#616828 #8A943A #AFBB50 #C3CC7C #D7DDA8
Accessibility & contrast
On white
2.09
#AFBB50 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.05
#AFBB50 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB50
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB50 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB50 | 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)
#C7B245
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#B9B1A4
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb50; /* rgb */ color: rgb(175, 187, 80); /* oklch */ color: oklch(76.1% 0.132 114.9);
Tailwind
colors: {
custom: {
50: '#c9cf85',
500: '#afbb50',
950: '#000000',
},
}SCSS
$custom: #afbb50; $custom-light: #c9cf85; $custom-dark: #000000;
JSON
{
"hex": "#afbb50",
"rgb": {
"r": 175,
"g": 187,
"b": 80
},
"hsl": {
"h": 66.729,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.76104,
"c": 0.13217,
"h": 114.9
},
"luminance": 0.45234
}Semantic roles & 50–950 ramp
primary
#AFBB50
secondary
#A19CCB
accent
#54D462
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C