#AFBF44#AFBF44
#AFBF44 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.147 H 116.3°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF44 |
|---|---|
| RGB | rgb(175, 191, 68) |
| HSL | hsl(68, 49%, 51%) |
| HSV | hsv(68, 64%, 75%) |
| CMYK | cmyk(8.4%, 0%, 64.4%, 25.1%) |
| CIE-LAB | lab(74.06, -21.93, 57.99) |
| CIE-LCH | lch(74.06, 62.00, 110.72°) |
| OKLab | oklab(76.88% -0.065 0.1316) |
| OKLCH | oklch(76.88% 0.147 116.3) |
| XYZ | xyz(37.3542, 46.7934, 12.5320) |
| Luminance | 0.4679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.27
Sick Green
#9DB92C
ΔE00 3.48
Snot
#ACBB0D
ΔE00 3.94
Gross Green
#A0BF16
ΔE00 3.99
Booger
#9BB53C
ΔE00 3.99
Bright Olive
#9CBB04
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF44 #5444BF
analogous
#BF9144 #AFBF44 #71BF44
triadic
#AFBF44 #44AFBF #BF44AF
tetradic
#AFBF44 #44BF91 #5444BF #BF4471
square
#AFBF44 #44BF91 #5444BF #BF4471
split-complementary
#AFBF44 #4471BF #9144BF
monochromatic
#5D6623 #879332 #AFBF44 #C3CF72 #D6DE9F
Accessibility & contrast
On white
2.03
#AFBF44 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.36
#AFBF44 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF44
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF44 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF44 | 1.00 | 2.03 | 10.36 | 10.36 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB534
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#B9B5A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf44; /* rgb */ color: rgb(175, 191, 68); /* oklch */ color: oklch(76.9% 0.147 116.3);
Tailwind
colors: {
custom: {
50: '#cad27e',
500: '#afbf44',
950: '#000000',
},
}SCSS
$custom: #afbf44; $custom-light: #cad27e; $custom-dark: #000000;
JSON
{
"hex": "#afbf44",
"rgb": {
"r": 175,
"g": 191,
"b": 68
},
"hsl": {
"h": 67.805,
"s": 49.004,
"l": 50.784
},
"oklch": {
"l": 0.76881,
"c": 0.14681,
"h": 116.3
},
"luminance": 0.46793
}Semantic roles & 50–950 ramp
primary
#AFBF44
secondary
#9B94CB
accent
#4FD961
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C