#AFBF3F#AFBF3F
#AFBF3F is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.8% C 0.150 H 116.2°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF3F |
|---|---|
| RGB | rgb(175, 191, 63) |
| HSL | hsl(68, 50%, 50%) |
| HSV | hsv(68, 67%, 75%) |
| CMYK | cmyk(8.4%, 0%, 67%, 25.1%) |
| CIE-LAB | lab(74.02, -22.25, 59.95) |
| CIE-LCH | lch(74.02, 63.95, 110.36°) |
| OKLab | oklab(76.84% -0.0664 0.135) |
| OKLCH | oklch(76.84% 0.15 116.2) |
| XYZ | xyz(37.2081, 46.7350, 11.7623) |
| Luminance | 0.4673 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.89
Sick Green
#9DB92C
ΔE00 3.36
Snot
#ACBB0D
ΔE00 3.42
Gross Green
#A0BF16
ΔE00 3.64
Booger
#9BB53C
ΔE00 4.14
Bile
#B5C306
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF3F #4F3FBF
analogous
#BF8F3F #AFBF3F #6FBF3F
triadic
#AFBF3F #3FAFBF #BF3FAF
tetradic
#AFBF3F #3FBF8F #4F3FBF #BF3F6F
square
#AFBF3F #3FBF8F #4F3FBF #BF3F6F
split-complementary
#AFBF3F #3F6FBF #8F3FBF
monochromatic
#5B6321 #859130 #AFBF3F #C2CF6D #D5DE9B
Accessibility & contrast
On white
2.03
#AFBF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.35
#AFBF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF3F
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF3F | 1.00 | 2.03 | 10.35 | 10.35 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB52C
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf3f; /* rgb */ color: rgb(175, 191, 63); /* oklch */ color: oklch(76.8% 0.150 116.2);
Tailwind
colors: {
custom: {
50: '#cad27b',
500: '#afbf3f',
950: '#000000',
},
}SCSS
$custom: #afbf3f; $custom-light: #cad27b; $custom-dark: #000000;
JSON
{
"hex": "#afbf3f",
"rgb": {
"r": 175,
"g": 191,
"b": 63
},
"hsl": {
"h": 67.5,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.76839,
"c": 0.15046,
"h": 116.2
},
"luminance": 0.46734
}Semantic roles & 50–950 ramp
primary
#AFBF3F
secondary
#9790CA
accent
#4EDA5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C