#AFBF4C#AFBF4C
#AFBF4C 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 | #AFBF4C |
|---|---|
| RGB | rgb(175, 191, 76) |
| HSL | hsl(68, 47%, 52%) |
| HSV | hsv(68, 60%, 75%) |
| CMYK | cmyk(8.4%, 0%, 60.2%, 25.1%) |
| CIE-LAB | lab(74.12, -21.37, 54.67) |
| CIE-LCH | lch(74.12, 58.70, 111.35°) |
| OKLab | oklab(76.96% -0.0626 0.1257) |
| OKLCH | oklch(76.96% 0.14 116.5) |
| XYZ | xyz(37.6152, 46.8978, 13.9067) |
| Luminance | 0.4690 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.85
Sick Green
#9DB92C
ΔE00 3.87
Booger
#9BB53C
ΔE00 3.92
Pea
#A4BF20
ΔE00 4.04
Light Olive
#ACBF69
ΔE00 4.55
Gross Green
#A0BF16
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF4C #5C4CBF
analogous
#BF964C #AFBF4C #75BF4C
triadic
#AFBF4C #4CAFBF #BF4CAF
tetradic
#AFBF4C #4CBF96 #5C4CBF #BF4C75
square
#AFBF4C #4CBF96 #5C4CBF #BF4C75
split-complementary
#AFBF4C #4C75BF #964CBF
monochromatic
#616B26 #8A9836 #AFBF4C #C3CF79 #D7DFA6
Accessibility & contrast
On white
2.02
#AFBF4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#AFBF4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF4C
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF4C | 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)
#CBB63F
Deuteranopia (green-blind)
#CAB753
Tritanopia (blue-blind)
#B9B5A7
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf4c; /* rgb */ color: rgb(175, 191, 76); /* oklch */ color: oklch(77.0% 0.140 116.5);
Tailwind
colors: {
custom: {
50: '#c9d283',
500: '#afbf4c',
950: '#000000',
},
}SCSS
$custom: #afbf4c; $custom-light: #c9d283; $custom-dark: #000000;
JSON
{
"hex": "#afbf4c",
"rgb": {
"r": 175,
"g": 191,
"b": 76
},
"hsl": {
"h": 68.348,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.76956,
"c": 0.14043,
"h": 116.5
},
"luminance": 0.46897
}Semantic roles & 50–950 ramp
primary
#AFBF4C
secondary
#A19ACC
accent
#51D764
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C