#AFBB4A#AFBB4A
#AFBB4A is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.137 H 114.8°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB4A |
|---|---|
| RGB | rgb(175, 187, 74) |
| HSL | hsl(66, 45%, 51%) |
| HSV | hsv(66, 60%, 73%) |
| CMYK | cmyk(6.4%, 0%, 60.4%, 26.7%) |
| CIE-LAB | lab(72.99, -19.53, 54.30) |
| CIE-LCH | lch(72.99, 57.70, 109.78°) |
| OKLab | oklab(76.04% -0.0577 0.1247) |
| OKLCH | oklch(76.04% 0.137 114.8) |
| XYZ | xyz(36.6864, 45.1496, 13.2594) |
| Luminance | 0.4515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.89
Sick Green
#9DB92C
ΔE00 4.08
Light Olive Green
#A4BE5C
ΔE00 4.43
Pea
#A4BF20
ΔE00 4.46
Snot
#ACBB0D
ΔE00 4.65
Light Olive
#ACBF69
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB4A #564ABB
analogous
#BB8E4A #AFBB4A #76BB4A
triadic
#AFBB4A #4AAFBB #BB4AAF
tetradic
#AFBB4A #4ABB8E #564ABB #BB4A76
square
#AFBB4A #4ABB8E #564ABB #BB4A76
split-complementary
#AFBB4A #4A76BB #8E4ABB
monochromatic
#5E6526 #889137 #AFBB4A #C3CC76 #D6DCA3
Accessibility & contrast
On white
2.09
#AFBB4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#AFBB4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB4A
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB4A | 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)
#C7B23D
Deuteranopia (green-blind)
#C7B451
Tritanopia (blue-blind)
#B9B1A3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb4a; /* rgb */ color: rgb(175, 187, 74); /* oklch */ color: oklch(76.0% 0.137 114.8);
Tailwind
colors: {
custom: {
50: '#c9cf81',
500: '#afbb4a',
950: '#000000',
},
}SCSS
$custom: #afbb4a; $custom-light: #c9cf81; $custom-dark: #000000;
JSON
{
"hex": "#afbb4a",
"rgb": {
"r": 175,
"g": 187,
"b": 74
},
"hsl": {
"h": 66.372,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.76042,
"c": 0.13735,
"h": 114.8
},
"luminance": 0.45149
}Semantic roles & 50–950 ramp
primary
#AFBB4A
secondary
#9D97C9
accent
#53D561
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C