#AFBF3B#AFBF3B
#AFBF3B 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 | #AFBF3B |
|---|---|
| RGB | rgb(175, 191, 59) |
| HSL | hsl(67, 53%, 49%) |
| HSV | hsv(67, 69%, 75%) |
| CMYK | cmyk(8.4%, 0%, 69.1%, 25.1%) |
| CIE-LAB | lab(73.99, -22.49, 61.46) |
| CIE-LCH | lch(73.99, 65.45, 110.09°) |
| OKLab | oklab(76.81% -0.0674 0.1376) |
| OKLCH | oklch(76.81% 0.153 116.1) |
| XYZ | xyz(37.1003, 46.6919, 11.1948) |
| Luminance | 0.4669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.65
Snot
#ACBB0D
ΔE00 3.02
Sick Green
#9DB92C
ΔE00 3.33
Gross Green
#A0BF16
ΔE00 3.42
Bile
#B5C306
ΔE00 3.76
Baby Puke Green
#B6C406
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF3B #4B3BBF
analogous
#BF8D3B #AFBF3B #6DBF3B
triadic
#AFBF3B #3BAFBF #BF3BAF
tetradic
#AFBF3B #3BBF8D #4B3BBF #BF3B6D
square
#AFBF3B #3BBF8D #4B3BBF #BF3B6D
split-complementary
#AFBF3B #3B6DBF #8D3BBF
monochromatic
#59611E #84902D #AFBF3B #C3D067 #D6DF96
Accessibility & contrast
On white
2.03
#AFBF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#AFBF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF3B
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF3B | 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)
#CCB526
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf3b; /* rgb */ color: rgb(175, 191, 59); /* oklch */ color: oklch(76.8% 0.153 116.1);
Tailwind
colors: {
custom: {
50: '#cad279',
500: '#afbf3b',
950: '#000000',
},
}SCSS
$custom: #afbf3b; $custom-light: #cad279; $custom-dark: #000000;
JSON
{
"hex": "#afbf3b",
"rgb": {
"r": 175,
"g": 191,
"b": 59
},
"hsl": {
"h": 67.273,
"s": 52.8,
"l": 49.02
},
"oklch": {
"l": 0.76808,
"c": 0.1532,
"h": 116.1
},
"luminance": 0.46691
}Semantic roles & 50–950 ramp
primary
#AFBF3B
secondary
#938CCA
accent
#4CDC5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C