#AFBB4D#AFBB4D
#AFBB4D is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.135 H 114.9°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB4D |
|---|---|
| RGB | rgb(175, 187, 77) |
| HSL | hsl(67, 45%, 52%) |
| HSV | hsv(67, 59%, 73%) |
| CMYK | cmyk(6.4%, 0%, 58.8%, 26.7%) |
| CIE-LAB | lab(73.02, -19.31, 53.01) |
| CIE-LCH | lch(73.02, 56.41, 110.01°) |
| OKLab | oklab(76.07% -0.0567 0.1223) |
| OKLCH | oklch(76.07% 0.135 114.9) |
| XYZ | xyz(36.7898, 45.1910, 13.8044) |
| Luminance | 0.4519 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.92
Light Olive Green
#A4BE5C
ΔE00 4.16
Sick Green
#9DB92C
ΔE00 4.27
Light Olive
#ACBF69
ΔE00 4.54
Pea
#A4BF20
ΔE00 4.75
Snot
#ACBB0D
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB4D #594DBB
analogous
#BB904D #AFBB4D #78BB4D
triadic
#AFBB4D #4DAFBB #BB4DAF
tetradic
#AFBB4D #4DBB90 #594DBB #BB4D78
square
#AFBB4D #4DBB90 #594DBB #BB4D78
split-complementary
#AFBB4D #4D78BB #904DBB
monochromatic
#606627 #899338 #AFBB4D #C3CC79 #D7DDA6
Accessibility & contrast
On white
2.09
#AFBB4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.04
#AFBB4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB4D
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB4D | 1.00 | 2.09 | 10.04 | 10.04 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B241
Deuteranopia (green-blind)
#C7B454
Tritanopia (blue-blind)
#B9B1A3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb4d; /* rgb */ color: rgb(175, 187, 77); /* oklch */ color: oklch(76.1% 0.135 114.9);
Tailwind
colors: {
custom: {
50: '#c9cf83',
500: '#afbb4d',
950: '#000000',
},
}SCSS
$custom: #afbb4d; $custom-light: #c9cf83; $custom-dark: #000000;
JSON
{
"hex": "#afbb4d",
"rgb": {
"r": 175,
"g": 187,
"b": 77
},
"hsl": {
"h": 66.545,
"s": 44.715,
"l": 51.765
},
"oklch": {
"l": 0.76072,
"c": 0.1348,
"h": 114.9
},
"luminance": 0.4519
}Semantic roles & 50–950 ramp
primary
#AFBB4D
secondary
#9F9ACA
accent
#53D461
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C