#AFBF49#AFBF49
#AFBF49 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.143 H 116.4°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF49 |
|---|---|
| RGB | rgb(175, 191, 73) |
| HSL | hsl(68, 48%, 52%) |
| HSV | hsv(68, 62%, 75%) |
| CMYK | cmyk(8.4%, 0%, 61.8%, 25.1%) |
| CIE-LAB | lab(74.10, -21.59, 55.93) |
| CIE-LCH | lch(74.10, 59.96, 111.11°) |
| OKLab | oklab(76.93% -0.0635 0.128) |
| OKLCH | oklch(76.93% 0.143 116.4) |
| XYZ | xyz(37.5134, 46.8571, 13.3702) |
| Luminance | 0.4686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.69
Pea
#A4BF20
ΔE00 3.73
Booger
#9BB53C
ΔE00 3.92
Light Olive Green
#A4BE5C
ΔE00 4.15
Gross Green
#A0BF16
ΔE00 4.41
Snot
#ACBB0D
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF49 #5949BF
analogous
#BF9449 #AFBF49 #74BF49
triadic
#AFBF49 #49AFBF #BF49AF
tetradic
#AFBF49 #49BF94 #5949BF #BF4974
square
#AFBF49 #49BF94 #5949BF #BF4974
split-complementary
#AFBF49 #4974BF #9449BF
monochromatic
#606925 #899635 #AFBF49 #C3CF76 #D7DFA4
Accessibility & contrast
On white
2.02
#AFBF49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#AFBF49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF49
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF49 | 1.00 | 2.02 | 10.37 | 10.37 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB63B
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#B9B5A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf49; /* rgb */ color: rgb(175, 191, 73); /* oklch */ color: oklch(76.9% 0.143 116.4);
Tailwind
colors: {
custom: {
50: '#c9d281',
500: '#afbf49',
950: '#000000',
},
}SCSS
$custom: #afbf49; $custom-light: #c9d281; $custom-dark: #000000;
JSON
{
"hex": "#afbf49",
"rgb": {
"r": 175,
"g": 191,
"b": 73
},
"hsl": {
"h": 68.136,
"s": 47.967,
"l": 51.765
},
"oklch": {
"l": 0.76927,
"c": 0.14289,
"h": 116.4
},
"luminance": 0.46857
}Semantic roles & 50–950 ramp
primary
#AFBF49
secondary
#9F98CC
accent
#50D863
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C