#AFB74A#AFB74A
#AFB74A is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.133 H 113.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB74A |
|---|---|
| RGB | rgb(175, 183, 74) |
| HSL | hsl(64, 43%, 50%) |
| HSV | hsv(64, 60%, 72%) |
| CMYK | cmyk(4.4%, 0%, 59.6%, 28.2%) |
| CIE-LAB | lab(71.88, -17.52, 53.08) |
| CIE-LCH | lch(71.88, 55.90, 108.27°) |
| OKLab | oklab(75.15% -0.052 0.1221) |
| OKLCH | oklch(75.15% 0.133 113.1) |
| XYZ | xyz(35.8496, 43.4760, 12.9805) |
| Luminance | 0.4348 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.31
Sick Green
#9DB92C
ΔE00 4.78
Mustard Green
#A8B504
ΔE00 4.94
Snot
#ACBB0D
ΔE00 5.02
Light Olive Green
#A4BE5C
ΔE00 5.13
Light Olive
#ACBF69
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB74A #524AB7
analogous
#B7894A #AFB74A #78B74A
triadic
#AFB74A #4AAFB7 #B74AAF
tetradic
#AFB74A #4AB789 #524AB7 #B74A78
square
#AFB74A #4AB789 #524AB7 #B74A78
split-complementary
#AFB74A #4A78B7 #894AB7
monochromatic
#5C6026 #868C38 #AFB74A #C2C876 #D6DAA2
Accessibility & contrast
On white
2.17
#AFB74A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#AFB74A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB74A
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB74A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB74A | 1.00 | 2.17 | 9.70 | 9.70 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF3E
Deuteranopia (green-blind)
#C4B151
Tritanopia (blue-blind)
#BAADA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb74a; /* rgb */ color: rgb(175, 183, 74); /* oklch */ color: oklch(75.2% 0.133 113.1);
Tailwind
colors: {
custom: {
50: '#c9cc81',
500: '#afb74a',
950: '#000000',
},
}SCSS
$custom: #afb74a; $custom-light: #c9cc81; $custom-dark: #000000;
JSON
{
"hex": "#afb74a",
"rgb": {
"r": 175,
"g": 183,
"b": 74
},
"hsl": {
"h": 64.404,
"s": 43.083,
"l": 50.392
},
"oklch": {
"l": 0.75151,
"c": 0.13268,
"h": 113.1
},
"luminance": 0.43475
}Semantic roles & 50–950 ramp
primary
#AFB74A
secondary
#9A96C7
accent
#55D35E
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C