#AFB446#AFB446
#AFB446 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.133 H 111.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB446 |
|---|---|
| RGB | rgb(175, 180, 70) |
| HSL | hsl(63, 44%, 49%) |
| HSV | hsv(63, 61%, 71%) |
| CMYK | cmyk(2.8%, 0%, 61.1%, 29.4%) |
| CIE-LAB | lab(71.01, -16.29, 53.89) |
| CIE-LCH | lch(71.01, 56.30, 106.82°) |
| OKLab | oklab(74.44% -0.0489 0.1233) |
| OKLCH | oklch(74.44% 0.133 111.7) |
| XYZ | xyz(35.1069, 42.1995, 12.0891) |
| Luminance | 0.4220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.70
Booger
#9BB53C
ΔE00 4.84
Snot
#ACBB0D
ΔE00 5.06
Sick Green
#9DB92C
ΔE00 5.29
Puke Green
#9AAE07
ΔE00 5.40
Vomit
#A2A415
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB446 #4B46B4
analogous
#B48246 #AFB446 #78B446
triadic
#AFB446 #46AFB4 #B446AF
tetradic
#AFB446 #46B482 #4B46B4 #B44678
square
#AFB446 #46B482 #4B46B4 #B44678
split-complementary
#AFB446 #4678B4 #8246B4
monochromatic
#595C24 #848835 #AFB446 #C3C770 #D6D89C
Accessibility & contrast
On white
2.22
#AFB446 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#AFB446 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB446
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB446 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB446 | 1.00 | 2.22 | 9.44 | 9.44 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC39
Deuteranopia (green-blind)
#C1AF4D
Tritanopia (blue-blind)
#BAAA9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb446; /* rgb */ color: rgb(175, 180, 70); /* oklch */ color: oklch(74.4% 0.133 111.7);
Tailwind
colors: {
custom: {
50: '#c9ca7e',
500: '#afb446',
950: '#000000',
},
}SCSS
$custom: #afb446; $custom-light: #c9ca7e; $custom-dark: #000000;
JSON
{
"hex": "#afb446",
"rgb": {
"r": 175,
"g": 180,
"b": 70
},
"hsl": {
"h": 62.727,
"s": 44,
"l": 49.02
},
"oklch": {
"l": 0.74445,
"c": 0.13261,
"h": 111.7
},
"luminance": 0.42199
}Semantic roles & 50–950 ramp
primary
#AFB446
secondary
#9391C5
accent
#54D45A
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C