#AFBF39#AFBF39
#AFBF39 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.8% C 0.155 H 116.1°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF39 |
|---|---|
| RGB | rgb(175, 191, 57) |
| HSL | hsl(67, 54%, 49%) |
| HSV | hsv(67, 70%, 75%) |
| CMYK | cmyk(8.4%, 0%, 70.2%, 25.1%) |
| CIE-LAB | lab(73.98, -22.60, 62.20) |
| CIE-LCH | lch(73.98, 66.17, 109.97°) |
| OKLab | oklab(76.79% -0.0679 0.1388) |
| OKLCH | oklch(76.79% 0.155 116.1) |
| XYZ | xyz(37.0494, 46.6715, 10.9269) |
| Luminance | 0.4667 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.55
Snot
#ACBB0D
ΔE00 2.84
Gross Green
#A0BF16
ΔE00 3.33
Sick Green
#9DB92C
ΔE00 3.33
Bile
#B5C306
ΔE00 3.58
Baby Puke Green
#B6C406
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF39 #4939BF
analogous
#BF8C39 #AFBF39 #6CBF39
triadic
#AFBF39 #39AFBF #BF39AF
tetradic
#AFBF39 #39BF8C #4939BF #BF396C
square
#AFBF39 #39BF8C #4939BF #BF396C
split-complementary
#AFBF39 #396CBF #8C39BF
monochromatic
#59611D #84902B #AFBF39 #C4D164 #D6DF93
Accessibility & contrast
On white
2.03
#AFBF39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.33
#AFBF39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF39
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF39 | 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)
#CCB522
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf39; /* rgb */ color: rgb(175, 191, 57); /* oklch */ color: oklch(76.8% 0.155 116.1);
Tailwind
colors: {
custom: {
50: '#cad278',
500: '#afbf39',
950: '#000000',
},
}SCSS
$custom: #afbf39; $custom-light: #cad278; $custom-dark: #000000;
JSON
{
"hex": "#afbf39",
"rgb": {
"r": 175,
"g": 191,
"b": 57
},
"hsl": {
"h": 67.164,
"s": 54.032,
"l": 48.627
},
"oklch": {
"l": 0.76793,
"c": 0.15451,
"h": 116.1
},
"luminance": 0.46671
}Semantic roles & 50–950 ramp
primary
#AFBF39
secondary
#918ACA
accent
#4ADD5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B