#AFBF3C#AFBF3C
#AFBF3C is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.8% C 0.153 H 116.1°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF3C |
|---|---|
| RGB | rgb(175, 191, 60) |
| HSL | hsl(67, 52%, 49%) |
| HSV | hsv(67, 69%, 75%) |
| CMYK | cmyk(8.4%, 0%, 68.6%, 25.1%) |
| CIE-LAB | lab(74.00, -22.43, 61.09) |
| CIE-LCH | lch(74.00, 65.08, 110.16°) |
| OKLab | oklab(76.82% -0.0672 0.1369) |
| OKLCH | oklch(76.82% 0.153 116.1) |
| XYZ | xyz(37.1265, 46.7023, 11.3327) |
| Luminance | 0.4670 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.71
Snot
#ACBB0D
ΔE00 3.12
Sick Green
#9DB92C
ΔE00 3.33
Gross Green
#A0BF16
ΔE00 3.47
Bile
#B5C306
ΔE00 3.86
Mustard Green
#A8B504
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF3C #4C3CBF
analogous
#BF8E3C #AFBF3C #6EBF3C
triadic
#AFBF3C #3CAFBF #BF3CAF
tetradic
#AFBF3C #3CBF8E #4C3CBF #BF3C6E
square
#AFBF3C #3CBF8E #4C3CBF #BF3C6E
split-complementary
#AFBF3C #3C6EBF #8E3CBF
monochromatic
#5A621F #84902D #AFBF3C #C3D068 #D6DE97
Accessibility & contrast
On white
2.03
#AFBF3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#AFBF3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF3C
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF3C | 1.00 | 2.03 | 10.34 | 10.34 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB528
Deuteranopia (green-blind)
#CBB746
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf3c; /* rgb */ color: rgb(175, 191, 60); /* oklch */ color: oklch(76.8% 0.153 116.1);
Tailwind
colors: {
custom: {
50: '#cad279',
500: '#afbf3c',
950: '#000000',
},
}SCSS
$custom: #afbf3c; $custom-light: #cad279; $custom-dark: #000000;
JSON
{
"hex": "#afbf3c",
"rgb": {
"r": 175,
"g": 191,
"b": 60
},
"hsl": {
"h": 67.328,
"s": 52.191,
"l": 49.216
},
"oklch": {
"l": 0.76815,
"c": 0.15254,
"h": 116.1
},
"luminance": 0.46702
}Semantic roles & 50–950 ramp
primary
#AFBF3C
secondary
#948DCA
accent
#4CDC5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C