#AFBB4E#AFBB4E
#AFBB4E is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.134 H 114.9°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB4E |
|---|---|
| RGB | rgb(175, 187, 78) |
| HSL | hsl(67, 44%, 52%) |
| HSV | hsv(67, 58%, 73%) |
| CMYK | cmyk(6.4%, 0%, 58.3%, 26.7%) |
| CIE-LAB | lab(73.03, -19.23, 52.57) |
| CIE-LCH | lch(73.03, 55.98, 110.09°) |
| OKLab | oklab(76.08% -0.0564 0.1215) |
| OKLCH | oklch(76.08% 0.134 114.9) |
| XYZ | xyz(36.8254, 45.2052, 13.9918) |
| Luminance | 0.4521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.94
Light Olive Green
#A4BE5C
ΔE00 4.07
Sick Green
#9DB92C
ΔE00 4.35
Light Olive
#ACBF69
ΔE00 4.42
Pea
#A4BF20
ΔE00 4.86
Snot
#ACBB0D
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB4E #5A4EBB
analogous
#BB914E #AFBB4E #78BB4E
triadic
#AFBB4E #4EAFBB #BB4EAF
tetradic
#AFBB4E #4EBB91 #5A4EBB #BB4E78
square
#AFBB4E #4EBB91 #5A4EBB #BB4E78
split-complementary
#AFBB4E #4E78BB #914EBB
monochromatic
#606728 #899339 #AFBB4E #C3CC7A #D7DDA6
Accessibility & contrast
On white
2.09
#AFBB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.04
#AFBB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB4E
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB4E | 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)
#C7B242
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#B9B1A4
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb4e; /* rgb */ color: rgb(175, 187, 78); /* oklch */ color: oklch(76.1% 0.134 114.9);
Tailwind
colors: {
custom: {
50: '#c9cf84',
500: '#afbb4e',
950: '#000000',
},
}SCSS
$custom: #afbb4e; $custom-light: #c9cf84; $custom-dark: #000000;
JSON
{
"hex": "#afbb4e",
"rgb": {
"r": 175,
"g": 187,
"b": 78
},
"hsl": {
"h": 66.606,
"s": 44.49,
"l": 51.961
},
"oklch": {
"l": 0.76083,
"c": 0.13393,
"h": 114.9
},
"luminance": 0.45205
}Semantic roles & 50–950 ramp
primary
#AFBB4E
secondary
#A09BCA
accent
#54D462
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C