#AFBF48#AFBF48
#AFBF48 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.144 H 116.4°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF48 |
|---|---|
| RGB | rgb(175, 191, 72) |
| HSL | hsl(68, 48%, 52%) |
| HSV | hsv(68, 62%, 75%) |
| CMYK | cmyk(8.4%, 0%, 62.3%, 25.1%) |
| CIE-LAB | lab(74.09, -21.66, 56.35) |
| CIE-LCH | lch(74.09, 60.37, 111.03°) |
| OKLab | oklab(76.92% -0.0638 0.1287) |
| OKLCH | oklch(76.92% 0.144 116.4) |
| XYZ | xyz(37.4805, 46.8439, 13.1970) |
| Luminance | 0.4684 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.63
Sick Green
#9DB92C
ΔE00 3.64
Booger
#9BB53C
ΔE00 3.92
Light Olive Green
#A4BE5C
ΔE00 4.25
Gross Green
#A0BF16
ΔE00 4.32
Snot
#ACBB0D
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF48 #5848BF
analogous
#BF9448 #AFBF48 #74BF48
triadic
#AFBF48 #48AFBF #BF48AF
tetradic
#AFBF48 #48BF94 #5848BF #BF4874
square
#AFBF48 #48BF94 #5848BF #BF4874
split-complementary
#AFBF48 #4874BF #9448BF
monochromatic
#5F6824 #889634 #AFBF48 #C3CF75 #D7DFA3
Accessibility & contrast
On white
2.03
#AFBF48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#AFBF48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF48
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF48 | 1.00 | 2.03 | 10.37 | 10.37 |
| #FFFFFF | 2.03 | 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)
#CBB639
Deuteranopia (green-blind)
#CAB750
Tritanopia (blue-blind)
#B9B5A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf48; /* rgb */ color: rgb(175, 191, 72); /* oklch */ color: oklch(76.9% 0.144 116.4);
Tailwind
colors: {
custom: {
50: '#cad280',
500: '#afbf48',
950: '#000000',
},
}SCSS
$custom: #afbf48; $custom-light: #cad280; $custom-dark: #000000;
JSON
{
"hex": "#afbf48",
"rgb": {
"r": 175,
"g": 191,
"b": 72
},
"hsl": {
"h": 68.067,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.76917,
"c": 0.14369,
"h": 116.4
},
"luminance": 0.46843
}Semantic roles & 50–950 ramp
primary
#AFBF48
secondary
#9E97CC
accent
#50D862
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C