#AFBF36#AFBF36
#AFBF36 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.8% C 0.156 H 116.0°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF36 |
|---|---|
| RGB | rgb(175, 191, 54) |
| HSL | hsl(67, 56%, 48%) |
| HSV | hsv(67, 72%, 75%) |
| CMYK | cmyk(8.4%, 0%, 71.7%, 25.1%) |
| CIE-LAB | lab(73.96, -22.75, 63.26) |
| CIE-LCH | lch(73.96, 67.23, 109.78°) |
| OKLab | oklab(76.77% -0.0686 0.1405) |
| OKLCH | oklch(76.77% 0.156 116) |
| XYZ | xyz(36.9768, 46.6424, 10.5443) |
| Luminance | 0.4664 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.43
Snot
#ACBB0D
ΔE00 2.58
Gross Green
#A0BF16
ΔE00 3.22
Bile
#B5C306
ΔE00 3.31
Sick Green
#9DB92C
ΔE00 3.37
Baby Puke Green
#B6C406
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF36 #4636BF
analogous
#BF8A36 #AFBF36 #6BBF36
triadic
#AFBF36 #36AFBF #BF36AF
tetradic
#AFBF36 #36BF8A #4636BF #BF366B
square
#AFBF36 #36BF8A #4636BF #BF366B
split-complementary
#AFBF36 #366BBF #8A36BF
monochromatic
#58601B #838F29 #AFBF36 #C5D260 #D6E090
Accessibility & contrast
On white
2.03
#AFBF36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.33
#AFBF36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF36
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF36 | 1.00 | 2.03 | 10.33 | 10.33 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB51D
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#BAB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf36; /* rgb */ color: rgb(175, 191, 54); /* oklch */ color: oklch(76.8% 0.156 116.0);
Tailwind
colors: {
custom: {
50: '#cad276',
500: '#afbf36',
950: '#000000',
},
}SCSS
$custom: #afbf36; $custom-light: #cad276; $custom-dark: #000000;
JSON
{
"hex": "#afbf36",
"rgb": {
"r": 175,
"g": 191,
"b": 54
},
"hsl": {
"h": 67.007,
"s": 55.918,
"l": 48.039
},
"oklch": {
"l": 0.76772,
"c": 0.15639,
"h": 116
},
"luminance": 0.46642
}Semantic roles & 50–950 ramp
primary
#AFBF36
secondary
#8E87CA
accent
#49DF5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B