#AFBF46#AFBF46
#AFBF46 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.145 H 116.3°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF46 |
|---|---|
| RGB | rgb(175, 191, 70) |
| HSL | hsl(68, 49%, 51%) |
| HSV | hsv(68, 63%, 75%) |
| CMYK | cmyk(8.4%, 0%, 63.4%, 25.1%) |
| CIE-LAB | lab(74.07, -21.80, 57.17) |
| CIE-LCH | lch(74.07, 61.19, 110.87°) |
| OKLab | oklab(76.9% -0.0644 0.1302) |
| OKLCH | oklch(76.9% 0.145 116.3) |
| XYZ | xyz(37.4163, 46.8182, 12.8589) |
| Luminance | 0.4682 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.45
Sick Green
#9DB92C
ΔE00 3.55
Booger
#9BB53C
ΔE00 3.95
Gross Green
#A0BF16
ΔE00 4.15
Snot
#ACBB0D
ΔE00 4.16
Light Olive Green
#A4BE5C
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF46 #5646BF
analogous
#BF9246 #AFBF46 #72BF46
triadic
#AFBF46 #46AFBF #BF46AF
tetradic
#AFBF46 #46BF92 #5646BF #BF4672
square
#AFBF46 #46BF92 #5646BF #BF4672
split-complementary
#AFBF46 #4672BF #9246BF
monochromatic
#5E6724 #889433 #AFBF46 #C3CF73 #D6DEA1
Accessibility & contrast
On white
2.03
#AFBF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.36
#AFBF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF46
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF46 | 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)
#CCB537
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#B9B5A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf46; /* rgb */ color: rgb(175, 191, 70); /* oklch */ color: oklch(76.9% 0.145 116.3);
Tailwind
colors: {
custom: {
50: '#cad27f',
500: '#afbf46',
950: '#000000',
},
}SCSS
$custom: #afbf46; $custom-light: #cad27f; $custom-dark: #000000;
JSON
{
"hex": "#afbf46",
"rgb": {
"r": 175,
"g": 191,
"b": 70
},
"hsl": {
"h": 67.934,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.76899,
"c": 0.14527,
"h": 116.3
},
"luminance": 0.46818
}Semantic roles & 50–950 ramp
primary
#AFBF46
secondary
#9D96CB
accent
#50D862
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C