#AFBF45#AFBF45
#AFBF45 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.146 H 116.3°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF45 |
|---|---|
| RGB | rgb(175, 191, 69) |
| HSL | hsl(68, 49%, 51%) |
| HSV | hsv(68, 64%, 75%) |
| CMYK | cmyk(8.4%, 0%, 63.9%, 25.1%) |
| CIE-LAB | lab(74.07, -21.87, 57.58) |
| CIE-LCH | lch(74.07, 61.59, 110.80°) |
| OKLab | oklab(76.89% -0.0647 0.1309) |
| OKLCH | oklch(76.89% 0.146 116.3) |
| XYZ | xyz(37.3850, 46.8057, 12.6941) |
| Luminance | 0.4681 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.36
Sick Green
#9DB92C
ΔE00 3.51
Booger
#9BB53C
ΔE00 3.97
Snot
#ACBB0D
ΔE00 4.05
Gross Green
#A0BF16
ΔE00 4.07
Light Olive Green
#A4BE5C
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF45 #5545BF
analogous
#BF9245 #AFBF45 #72BF45
triadic
#AFBF45 #45AFBF #BF45AF
tetradic
#AFBF45 #45BF92 #5545BF #BF4572
square
#AFBF45 #45BF92 #5545BF #BF4572
split-complementary
#AFBF45 #4572BF #9245BF
monochromatic
#5E6623 #879433 #AFBF45 #C3CF73 #D6DEA0
Accessibility & contrast
On white
2.03
#AFBF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.36
#AFBF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF45
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF45 | 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)
#CCB535
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#B9B5A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf45; /* rgb */ color: rgb(175, 191, 69); /* oklch */ color: oklch(76.9% 0.146 116.3);
Tailwind
colors: {
custom: {
50: '#cad27f',
500: '#afbf45',
950: '#000000',
},
}SCSS
$custom: #afbf45; $custom-light: #cad27f; $custom-dark: #000000;
JSON
{
"hex": "#afbf45",
"rgb": {
"r": 175,
"g": 191,
"b": 69
},
"hsl": {
"h": 67.869,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.7689,
"c": 0.14604,
"h": 116.3
},
"luminance": 0.46805
}Semantic roles & 50–950 ramp
primary
#AFBF45
secondary
#9C95CB
accent
#4FD861
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C