#AFAE3D#AFAE3D
#AFAE3D is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.133 H 108.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE3D |
|---|---|
| RGB | rgb(175, 174, 61) |
| HSL | hsl(59, 48%, 46%) |
| HSV | hsv(59, 65%, 69%) |
| CMYK | cmyk(0%, 0.6%, 65.1%, 31.4%) |
| CIE-LAB | lab(69.27, -13.81, 55.87) |
| CIE-LCH | lch(69.27, 57.55, 103.88°) |
| OKLab | oklab(73.04% -0.0429 0.1261) |
| OKLCH | oklch(73.04% 0.133 108.8) |
| XYZ | xyz(33.6587, 39.7240, 10.3084) |
| Luminance | 0.3972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.04
Puke
#A5A502
ΔE00 4.30
Mustard Green
#A8B504
ΔE00 4.93
Puke Green
#9AAE07
ΔE00 5.59
Snot
#ACBB0D
ΔE00 5.78
Pea Soup Green
#94A617
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE3D #3D3EAF
analogous
#AF753D #AFAE3D #77AF3D
triadic
#AFAE3D #3DAFAE #AE3DAF
tetradic
#AFAE3D #3DAF75 #3D3EAF #AF3D77
square
#AFAE3D #3DAF75 #3D3EAF #AF3D77
split-complementary
#AFAE3D #3D77AF #753DAF
monochromatic
#54541D #82812D #AFAE3D #C8C761 #D8D78F
Accessibility & contrast
On white
2.35
#AFAE3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#AFAE3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE3D
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE3D | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72E
Deuteranopia (green-blind)
#BDAB44
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afae3d; /* rgb */ color: rgb(175, 174, 61); /* oklch */ color: oklch(73.0% 0.133 108.8);
Tailwind
colors: {
custom: {
50: '#cac578',
500: '#afae3d',
950: '#000000',
},
}SCSS
$custom: #afae3d; $custom-light: #cac578; $custom-dark: #000000;
JSON
{
"hex": "#afae3d",
"rgb": {
"r": 175,
"g": 174,
"b": 61
},
"hsl": {
"h": 59.474,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.73035,
"c": 0.13321,
"h": 108.8
},
"luminance": 0.39723
}Semantic roles & 50–950 ramp
primary
#AFAE3D
secondary
#8586C3
accent
#51D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B