#AFB045#AFB045
#AFB045 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.129 H 109.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB045 |
|---|---|
| RGB | rgb(175, 176, 69) |
| HSL | hsl(61, 44%, 48%) |
| HSV | hsv(61, 61%, 69%) |
| CMYK | cmyk(0.6%, 0%, 60.8%, 31%) |
| CIE-LAB | lab(69.89, -14.31, 53.12) |
| CIE-LCH | lch(69.89, 55.01, 105.08°) |
| OKLab | oklab(73.55% -0.0435 0.1215) |
| OKLCH | oklch(73.55% 0.129 109.7) |
| XYZ | xyz(34.2797, 40.5952, 11.6590) |
| Luminance | 0.4059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.90
Mustard Green
#A8B504
ΔE00 5.24
Puke
#A5A502
ΔE00 5.29
Darkkhaki
#BDB76B
ΔE00 5.55
Puke Green
#9AAE07
ΔE00 5.78
Booger
#9BB53C
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB045 #4645B0
analogous
#B07B45 #AFB045 #79B045
triadic
#AFB045 #45AFB0 #B045AF
tetradic
#AFB045 #45B07B #4645B0 #B04579
square
#AFB045 #45B07B #4645B0 #B04579
split-complementary
#AFB045 #4579B0 #7B45B0
monochromatic
#585823 #838434 #AFB045 #C5C66D #D6D799
Accessibility & contrast
On white
2.30
#AFB045 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#AFB045 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB045
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB045 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB045 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA938
Deuteranopia (green-blind)
#BEAC4B
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afb045; /* rgb */ color: rgb(175, 176, 69); /* oklch */ color: oklch(73.6% 0.129 109.7);
Tailwind
colors: {
custom: {
50: '#c9c77d',
500: '#afb045',
950: '#000000',
},
}SCSS
$custom: #afb045; $custom-light: #c9c77d; $custom-dark: #000000;
JSON
{
"hex": "#afb045",
"rgb": {
"r": 175,
"g": 176,
"b": 69
},
"hsl": {
"h": 60.561,
"s": 43.673,
"l": 48.039
},
"oklch": {
"l": 0.7355,
"c": 0.12903,
"h": 109.7
},
"luminance": 0.40594
}Semantic roles & 50–950 ramp
primary
#AFB045
secondary
#8E8EC3
accent
#54D356
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C