#AFBF5A#AFBF5A
#AFBF5A is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.128 H 117.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF5A |
|---|---|
| RGB | rgb(175, 191, 90) |
| HSL | hsl(70, 44%, 55%) |
| HSV | hsv(70, 53%, 75%) |
| CMYK | cmyk(8.4%, 0%, 52.9%, 25.1%) |
| CIE-LAB | lab(74.26, -20.22, 48.45) |
| CIE-LCH | lch(74.26, 52.50, 112.65°) |
| OKLab | oklab(77.11% -0.058 0.1139) |
| OKLCH | oklch(77.11% 0.128 117) |
| XYZ | xyz(38.1560, 47.1141, 16.7548) |
| Luminance | 0.4711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 2.60
Light Olive
#ACBF69
ΔE00 2.68
Tan Green
#A9BE70
ΔE00 4.31
Booger
#9BB53C
ΔE00 4.46
Greenish Tan
#BCCB7A
ΔE00 4.72
Sick Green
#9DB92C
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF5A #6A5ABF
analogous
#BF9D5A #AFBF5A #7CBF5A
triadic
#AFBF5A #5AAFBF #BF5AAF
tetradic
#AFBF5A #5ABF9D #6A5ABF #BF5A7C
square
#AFBF5A #5ABF9D #6A5ABF #BF5A7C
split-complementary
#AFBF5A #5A7CBF #9D5ABF
monochromatic
#67722C #8F9E3D #AFBF5A #C4D086 #DAE1B2
Accessibility & contrast
On white
2.01
#AFBF5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#AFBF5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF5A
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF5A | 1.00 | 2.01 | 10.42 | 10.42 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB650
Deuteranopia (green-blind)
#C9B760
Tritanopia (blue-blind)
#B8B6A8
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afbf5a; /* rgb */ color: rgb(175, 191, 90); /* oklch */ color: oklch(77.1% 0.128 117.0);
Tailwind
colors: {
custom: {
50: '#c9d28b',
500: '#afbf5a',
950: '#000000',
},
}SCSS
$custom: #afbf5a; $custom-light: #c9d28b; $custom-dark: #000000;
JSON
{
"hex": "#afbf5a",
"rgb": {
"r": 175,
"g": 191,
"b": 90
},
"hsl": {
"h": 69.505,
"s": 44.105,
"l": 55.098
},
"oklch": {
"l": 0.77112,
"c": 0.12784,
"h": 117
},
"luminance": 0.47114
}Semantic roles & 50–950 ramp
primary
#AFBF5A
secondary
#ACA5D0
accent
#54D468
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D