#AFB94A#AFB94A
#AFB94A is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.135 H 114.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB94A |
|---|---|
| RGB | rgb(175, 185, 74) |
| HSL | hsl(65, 44%, 51%) |
| HSV | hsv(65, 60%, 73%) |
| CMYK | cmyk(5.4%, 0%, 60%, 27.5%) |
| CIE-LAB | lab(72.43, -18.53, 53.69) |
| CIE-LCH | lch(72.43, 56.80, 109.04°) |
| OKLab | oklab(75.6% -0.0548 0.1234) |
| OKLCH | oklch(75.6% 0.135 114) |
| XYZ | xyz(36.2650, 44.3069, 13.1189) |
| Luminance | 0.4431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.05
Sick Green
#9DB92C
ΔE00 4.39
Light Olive Green
#A4BE5C
ΔE00 4.75
Snot
#ACBB0D
ΔE00 4.79
Pea
#A4BF20
ΔE00 4.88
Mustard Green
#A8B504
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB94A #544AB9
analogous
#B98B4A #AFB94A #77B94A
triadic
#AFB94A #4AAFB9 #B94AAF
tetradic
#AFB94A #4AB98B #544AB9 #B94A77
square
#AFB94A #4AB98B #544AB9 #B94A77
split-complementary
#AFB94A #4A77B9 #8B4AB9
monochromatic
#5D6326 #878F37 #AFB94A #C3CA76 #D6DBA2
Accessibility & contrast
On white
2.13
#AFB94A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#AFB94A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB94A
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB94A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB94A | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B13D
Deuteranopia (green-blind)
#C5B351
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afb94a; /* rgb */ color: rgb(175, 185, 74); /* oklch */ color: oklch(75.6% 0.135 114.0);
Tailwind
colors: {
custom: {
50: '#c9cd81',
500: '#afb94a',
950: '#000000',
},
}SCSS
$custom: #afb94a; $custom-light: #c9cd81; $custom-dark: #000000;
JSON
{
"hex": "#afb94a",
"rgb": {
"r": 175,
"g": 185,
"b": 74
},
"hsl": {
"h": 65.405,
"s": 44.223,
"l": 50.784
},
"oklch": {
"l": 0.75596,
"c": 0.135,
"h": 114
},
"luminance": 0.44306
}Semantic roles & 50–950 ramp
primary
#AFB94A
secondary
#9B97C8
accent
#54D45F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C