#AFBF37#AFBF37
#AFBF37 is a light, vivid yellow. Relative luminance 0.467; 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 | #AFBF37 |
|---|---|
| RGB | rgb(175, 191, 55) |
| HSL | hsl(67, 55%, 48%) |
| HSV | hsv(67, 71%, 75%) |
| CMYK | cmyk(8.4%, 0%, 71.2%, 25.1%) |
| CIE-LAB | lab(73.97, -22.70, 62.91) |
| CIE-LCH | lch(73.97, 66.88, 109.84°) |
| OKLab | oklab(76.78% -0.0684 0.14) |
| OKLCH | oklch(76.78% 0.156 116) |
| XYZ | xyz(37.0005, 46.6519, 10.6693) |
| Luminance | 0.4665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.47
Snot
#ACBB0D
ΔE00 2.66
Gross Green
#A0BF16
ΔE00 3.25
Sick Green
#9DB92C
ΔE00 3.35
Bile
#B5C306
ΔE00 3.40
Baby Puke Green
#B6C406
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF37 #4737BF
analogous
#BF8B37 #AFBF37 #6BBF37
triadic
#AFBF37 #37AFBF #BF37AF
tetradic
#AFBF37 #37BF8B #4737BF #BF376B
square
#AFBF37 #37BF8B #4737BF #BF376B
split-complementary
#AFBF37 #376BBF #8B37BF
monochromatic
#58601C #838F29 #AFBF37 #C4D262 #D6DF91
Accessibility & contrast
On white
2.03
#AFBF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.33
#AFBF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF37
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF37 | 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)
#CCB51F
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf37; /* rgb */ color: rgb(175, 191, 55); /* oklch */ color: oklch(76.8% 0.156 116.0);
Tailwind
colors: {
custom: {
50: '#cad277',
500: '#afbf37',
950: '#000000',
},
}SCSS
$custom: #afbf37; $custom-light: #cad277; $custom-dark: #000000;
JSON
{
"hex": "#afbf37",
"rgb": {
"r": 175,
"g": 191,
"b": 55
},
"hsl": {
"h": 67.059,
"s": 55.285,
"l": 48.235
},
"oklch": {
"l": 0.76779,
"c": 0.15578,
"h": 116
},
"luminance": 0.46651
}Semantic roles & 50–950 ramp
primary
#AFBF37
secondary
#8F88CA
accent
#49DF5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B