#AFBA44#AFBA44
#AFBA44 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.141 H 114.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA44 |
|---|---|
| RGB | rgb(175, 186, 68) |
| HSL | hsl(66, 46%, 50%) |
| HSV | hsv(66, 63%, 73%) |
| CMYK | cmyk(5.9%, 0%, 63.4%, 27.1%) |
| CIE-LAB | lab(72.66, -19.45, 56.51) |
| CIE-LCH | lch(72.66, 59.76, 108.99°) |
| OKLab | oklab(75.76% -0.0581 0.1285) |
| OKLCH | oklch(75.76% 0.141 114.3) |
| XYZ | xyz(36.2824, 44.6498, 12.1747) |
| Luminance | 0.4465 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.93
Snot
#ACBB0D
ΔE00 3.99
Booger
#9BB53C
ΔE00 4.00
Pea
#A4BF20
ΔE00 4.17
Mustard Green
#A8B504
ΔE00 4.22
Gross Green
#A0BF16
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA44 #4F44BA
analogous
#BA8A44 #AFBA44 #74BA44
triadic
#AFBA44 #44AFBA #BA44AF
tetradic
#AFBA44 #44BA8A #4F44BA #BA4474
square
#AFBA44 #44BA8A #4F44BA #BA4474
split-complementary
#AFBA44 #4474BA #8A44BA
monochromatic
#5B6023 #858D34 #AFBA44 #C2CB70 #D5DB9D
Accessibility & contrast
On white
2.11
#AFBA44 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#AFBA44 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA44
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA44 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA44 | 1.00 | 2.11 | 9.93 | 9.93 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B135
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba44; /* rgb */ color: rgb(175, 186, 68); /* oklch */ color: oklch(75.8% 0.141 114.3);
Tailwind
colors: {
custom: {
50: '#cace7e',
500: '#afba44',
950: '#000000',
},
}SCSS
$custom: #afba44; $custom-light: #cace7e; $custom-dark: #000000;
JSON
{
"hex": "#afba44",
"rgb": {
"r": 175,
"g": 186,
"b": 68
},
"hsl": {
"h": 65.593,
"s": 46.457,
"l": 49.804
},
"oklch": {
"l": 0.75761,
"c": 0.14102,
"h": 114.3
},
"luminance": 0.44649
}Semantic roles & 50–950 ramp
primary
#AFBA44
secondary
#9792C8
accent
#52D65E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C