#AFBF4B#AFBF4B
#AFBF4B is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.141 H 116.5°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF4B |
|---|---|
| RGB | rgb(175, 191, 75) |
| HSL | hsl(68, 48%, 52%) |
| HSV | hsv(68, 61%, 75%) |
| CMYK | cmyk(8.4%, 0%, 60.7%, 25.1%) |
| CIE-LAB | lab(74.12, -21.45, 55.09) |
| CIE-LCH | lch(74.12, 59.12, 111.27°) |
| OKLab | oklab(76.95% -0.0629 0.1265) |
| OKLCH | oklch(76.95% 0.141 116.5) |
| XYZ | xyz(37.5807, 46.8840, 13.7250) |
| Luminance | 0.4688 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.81
Booger
#9BB53C
ΔE00 3.91
Pea
#A4BF20
ΔE00 3.93
Light Olive Green
#A4BE5C
ΔE00 3.95
Gross Green
#A0BF16
ΔE00 4.59
Light Olive
#ACBF69
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF4B #5B4BBF
analogous
#BF954B #AFBF4B #75BF4B
triadic
#AFBF4B #4BAFBF #BF4BAF
tetradic
#AFBF4B #4BBF95 #5B4BBF #BF4B75
square
#AFBF4B #4BBF95 #5B4BBF #BF4B75
split-complementary
#AFBF4B #4B75BF #954BBF
monochromatic
#616A26 #8A9736 #AFBF4B #C3CF78 #D7DFA5
Accessibility & contrast
On white
2.02
#AFBF4B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#AFBF4B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF4B
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF4B | 1.00 | 2.02 | 10.38 | 10.38 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB63D
Deuteranopia (green-blind)
#CAB753
Tritanopia (blue-blind)
#B9B5A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf4b; /* rgb */ color: rgb(175, 191, 75); /* oklch */ color: oklch(76.9% 0.141 116.5);
Tailwind
colors: {
custom: {
50: '#c9d282',
500: '#afbf4b',
950: '#000000',
},
}SCSS
$custom: #afbf4b; $custom-light: #c9d282; $custom-dark: #000000;
JSON
{
"hex": "#afbf4b",
"rgb": {
"r": 175,
"g": 191,
"b": 75
},
"hsl": {
"h": 68.276,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.76946,
"c": 0.14127,
"h": 116.5
},
"luminance": 0.46884
}Semantic roles & 50–950 ramp
primary
#AFBF4B
secondary
#A19ACC
accent
#51D763
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C