#AFAE4B#AFAE4B
#AFAE4B is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.122 H 108.5°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE4B |
|---|---|
| RGB | rgb(175, 174, 75) |
| HSL | hsl(59, 40%, 49%) |
| HSV | hsv(59, 57%, 69%) |
| CMYK | cmyk(0%, 0.6%, 57.1%, 31.4%) |
| CIE-LAB | lab(69.39, -12.84, 49.87) |
| CIE-LCH | lch(69.39, 51.50, 104.44°) |
| OKLab | oklab(73.17% -0.0387 0.1154) |
| OKLCH | oklch(73.17% 0.122 108.5) |
| XYZ | xyz(34.0862, 39.8950, 12.5602) |
| Luminance | 0.3989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.86
Khaki (survey)
#AAA662
ΔE00 5.32
Vomit
#A2A415
ΔE00 5.32
Puke
#A5A502
ΔE00 5.79
Mustard Green
#A8B504
ΔE00 6.36
Booger
#9BB53C
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE4B #4B4CAF
analogous
#AF7C4B #AFAE4B #7EAF4B
triadic
#AFAE4B #4BAFAE #AE4BAF
tetradic
#AFAE4B #4BAF7C #4B4CAF #AF4B7E
square
#AFAE4B #4BAF7C #4B4CAF #AF4B7E
split-complementary
#AFAE4B #4B7EAF #7C4BAF
monochromatic
#595926 #848339 #AFAE4B #C3C374 #D6D59F
Accessibility & contrast
On white
2.34
#AFAE4B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#AFAE4B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE4B
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE4B | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA740
Deuteranopia (green-blind)
#BCAB51
Tritanopia (blue-blind)
#BAA498
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afae4b; /* rgb */ color: rgb(175, 174, 75); /* oklch */ color: oklch(73.2% 0.122 108.5);
Tailwind
colors: {
custom: {
50: '#c9c681',
500: '#afae4b',
950: '#000000',
},
}SCSS
$custom: #afae4b; $custom-light: #c9c681; $custom-dark: #000000;
JSON
{
"hex": "#afae4b",
"rgb": {
"r": 175,
"g": 174,
"b": 75
},
"hsl": {
"h": 59.4,
"s": 40,
"l": 49.02
},
"oklch": {
"l": 0.73172,
"c": 0.12167,
"h": 108.5
},
"luminance": 0.39894
}Semantic roles & 50–950 ramp
primary
#AFAE4B
secondary
#9394C2
accent
#59D058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120A
muted
#82817C