#AFBA43#AFBA43
#AFBA43 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.142 H 114.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA43 |
|---|---|
| RGB | rgb(175, 186, 67) |
| HSL | hsl(66, 47%, 50%) |
| HSV | hsv(66, 64%, 73%) |
| CMYK | cmyk(5.9%, 0%, 64%, 27.1%) |
| CIE-LAB | lab(72.65, -19.52, 56.92) |
| CIE-LCH | lch(72.65, 60.17, 108.93°) |
| OKLab | oklab(75.75% -0.0583 0.1292) |
| OKLCH | oklch(75.75% 0.142 114.3) |
| XYZ | xyz(36.2521, 44.6377, 12.0153) |
| Luminance | 0.4464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.87
Sick Green
#9DB92C
ΔE00 3.90
Booger
#9BB53C
ΔE00 4.02
Pea
#A4BF20
ΔE00 4.10
Mustard Green
#A8B504
ΔE00 4.11
Gross Green
#A0BF16
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA43 #4E43BA
analogous
#BA8A43 #AFBA43 #74BA43
triadic
#AFBA43 #43AFBA #BA43AF
tetradic
#AFBA43 #43BA8A #4E43BA #BA4374
square
#AFBA43 #43BA8A #4E43BA #BA4374
split-complementary
#AFBA43 #4374BA #8A43BA
monochromatic
#5A6023 #858D33 #AFBA43 #C3CB6F #D6DB9C
Accessibility & contrast
On white
2.12
#AFBA43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#AFBA43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA43
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA43 | 1.00 | 2.12 | 9.93 | 9.93 |
| #FFFFFF | 2.12 | 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)
#C7B134
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#BAB0A1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba43; /* rgb */ color: rgb(175, 186, 67); /* oklch */ color: oklch(75.8% 0.142 114.3);
Tailwind
colors: {
custom: {
50: '#cace7d',
500: '#afba43',
950: '#000000',
},
}SCSS
$custom: #afba43; $custom-light: #cace7d; $custom-dark: #000000;
JSON
{
"hex": "#afba43",
"rgb": {
"r": 175,
"g": 186,
"b": 67
},
"hsl": {
"h": 65.546,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.75752,
"c": 0.14179,
"h": 114.3
},
"luminance": 0.44637
}Semantic roles & 50–950 ramp
primary
#AFBA43
secondary
#9691C8
accent
#51D75D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C