#AFB447#AFB447
#AFB447 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.132 H 111.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB447 |
|---|---|
| RGB | rgb(175, 180, 71) |
| HSL | hsl(63, 43%, 49%) |
| HSV | hsv(63, 61%, 71%) |
| CMYK | cmyk(2.8%, 0%, 60.6%, 29.4%) |
| CIE-LAB | lab(71.02, -16.22, 53.46) |
| CIE-LCH | lch(71.02, 55.87, 106.88°) |
| OKLab | oklab(74.46% -0.0486 0.1225) |
| OKLCH | oklch(74.46% 0.132 111.7) |
| XYZ | xyz(35.1387, 42.2122, 12.2567) |
| Luminance | 0.4221 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.82
Booger
#9BB53C
ΔE00 4.84
Snot
#ACBB0D
ΔE00 5.17
Sick Green
#9DB92C
ΔE00 5.33
Puke Green
#9AAE07
ΔE00 5.48
Vomit
#A2A415
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB447 #4C47B4
analogous
#B48347 #AFB447 #79B447
triadic
#AFB447 #47AFB4 #B447AF
tetradic
#AFB447 #47B483 #4C47B4 #B44779
square
#AFB447 #47B483 #4C47B4 #B44779
split-complementary
#AFB447 #4779B4 #8347B4
monochromatic
#5A5C24 #848836 #AFB447 #C3C771 #D6D89D
Accessibility & contrast
On white
2.22
#AFB447 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#AFB447 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB447
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB447 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB447 | 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)
#C1AC3A
Deuteranopia (green-blind)
#C1AF4E
Tritanopia (blue-blind)
#BAAA9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb447; /* rgb */ color: rgb(175, 180, 71); /* oklch */ color: oklch(74.5% 0.132 111.7);
Tailwind
colors: {
custom: {
50: '#c9ca7f',
500: '#afb447',
950: '#000000',
},
}SCSS
$custom: #afb447; $custom-light: #c9ca7f; $custom-dark: #000000;
JSON
{
"hex": "#afb447",
"rgb": {
"r": 175,
"g": 180,
"b": 71
},
"hsl": {
"h": 62.752,
"s": 43.426,
"l": 49.216
},
"oklch": {
"l": 0.74455,
"c": 0.13179,
"h": 111.7
},
"luminance": 0.42211
}Semantic roles & 50–950 ramp
primary
#AFB447
secondary
#9492C5
accent
#55D35A
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C