#AFBF4D#AFBF4D
#AFBF4D is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.140 H 116.5°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF4D |
|---|---|
| RGB | rgb(175, 191, 77) |
| HSL | hsl(68, 47%, 53%) |
| HSV | hsv(68, 60%, 75%) |
| CMYK | cmyk(8.4%, 0%, 59.7%, 25.1%) |
| CIE-LAB | lab(74.13, -21.30, 54.24) |
| CIE-LCH | lch(74.13, 58.27, 111.44°) |
| OKLab | oklab(76.97% -0.0623 0.1249) |
| OKLCH | oklch(76.97% 0.14 116.5) |
| XYZ | xyz(37.6503, 46.9118, 14.0912) |
| Luminance | 0.4691 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.75
Booger
#9BB53C
ΔE00 3.93
Sick Green
#9DB92C
ΔE00 3.94
Pea
#A4BF20
ΔE00 4.14
Light Olive
#ACBF69
ΔE00 4.42
Gross Green
#A0BF16
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF4D #5D4DBF
analogous
#BF964D #AFBF4D #76BF4D
triadic
#AFBF4D #4DAFBF #BF4DAF
tetradic
#AFBF4D #4DBF96 #5D4DBF #BF4D76
square
#AFBF4D #4DBF96 #5D4DBF #BF4D76
split-complementary
#AFBF4D #4D76BF #964DBF
monochromatic
#616B27 #8A9837 #AFBF4D #C3CF7A #D7DFA7
Accessibility & contrast
On white
2.02
#AFBF4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#AFBF4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF4D
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF4D | 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)
#CBB640
Deuteranopia (green-blind)
#CAB754
Tritanopia (blue-blind)
#B9B5A7
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf4d; /* rgb */ color: rgb(175, 191, 77); /* oklch */ color: oklch(77.0% 0.140 116.5);
Tailwind
colors: {
custom: {
50: '#c9d283',
500: '#afbf4d',
950: '#000000',
},
}SCSS
$custom: #afbf4d; $custom-light: #c9d283; $custom-dark: #000000;
JSON
{
"hex": "#afbf4d",
"rgb": {
"r": 175,
"g": 191,
"b": 77
},
"hsl": {
"h": 68.421,
"s": 47.107,
"l": 52.549
},
"oklch": {
"l": 0.76966,
"c": 0.13959,
"h": 116.5
},
"luminance": 0.46911
}Semantic roles & 50–950 ramp
primary
#AFBF4D
secondary
#A29BCD
accent
#51D764
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C