#AFB445#AFB445
#AFB445 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 | #AFB445 |
|---|---|
| RGB | rgb(175, 180, 69) |
| HSL | hsl(63, 45%, 49%) |
| HSV | hsv(63, 62%, 71%) |
| CMYK | cmyk(2.8%, 0%, 61.7%, 29.4%) |
| CIE-LAB | lab(71.00, -16.36, 54.31) |
| CIE-LCH | lch(71.00, 56.72, 106.76°) |
| OKLab | oklab(74.44% -0.0493 0.124) |
| OKLCH | oklch(74.44% 0.133 111.7) |
| XYZ | xyz(35.0756, 42.1869, 11.9243) |
| Luminance | 0.4219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.59
Booger
#9BB53C
ΔE00 4.84
Snot
#ACBB0D
ΔE00 4.95
Sick Green
#9DB92C
ΔE00 5.25
Puke Green
#9AAE07
ΔE00 5.32
Vomit
#A2A415
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB445 #4A45B4
analogous
#B48245 #AFB445 #78B445
triadic
#AFB445 #45AFB4 #B445AF
tetradic
#AFB445 #45B482 #4A45B4 #B44578
square
#AFB445 #45B482 #4A45B4 #B44578
split-complementary
#AFB445 #4578B4 #8245B4
monochromatic
#595C23 #848834 #AFB445 #C4C86F #D6D99B
Accessibility & contrast
On white
2.23
#AFB445 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#AFB445 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB445
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB445 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB445 | 1.00 | 2.23 | 9.44 | 9.44 |
| #FFFFFF | 2.23 | 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)
#C1AC38
Deuteranopia (green-blind)
#C2AF4C
Tritanopia (blue-blind)
#BAAA9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb445; /* rgb */ color: rgb(175, 180, 69); /* oklch */ color: oklch(74.4% 0.133 111.7);
Tailwind
colors: {
custom: {
50: '#c9ca7e',
500: '#afb445',
950: '#000000',
},
}SCSS
$custom: #afb445; $custom-light: #c9ca7e; $custom-dark: #000000;
JSON
{
"hex": "#afb445",
"rgb": {
"r": 175,
"g": 180,
"b": 69
},
"hsl": {
"h": 62.703,
"s": 44.578,
"l": 48.824
},
"oklch": {
"l": 0.74435,
"c": 0.13344,
"h": 111.7
},
"luminance": 0.42186
}Semantic roles & 50–950 ramp
primary
#AFB445
secondary
#9290C5
accent
#54D459
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C