#AF9724#AF9724
#AF9724 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.129 H 96.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9724 |
|---|---|
| RGB | rgb(175, 151, 36) |
| HSL | hsl(50, 66%, 41%) |
| HSV | hsv(50, 79%, 69%) |
| CMYK | cmyk(0%, 13.7%, 79.4%, 31.4%) |
| CIE-LAB | lab(62.82, -2.90, 58.98) |
| CIE-LCH | lch(62.82, 59.06, 92.81°) |
| OKLab | oklab(67.86% -0.0147 0.1281) |
| OKLCH | oklch(67.86% 0.129 96.5) |
| XYZ | xyz(29.0658, 31.3762, 6.1940) |
| Luminance | 0.3137 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 1.96
Baby Poo
#AB9004
ΔE00 2.61
Baby Shit Brown
#AD900D
ΔE00 2.62
Dark Gold
#B59410
ΔE00 2.83
Yellow Brown
#B79400
ΔE00 3.53
Ocher
#BF9B0C
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9724 #243CAF
analogous
#AF5224 #AF9724 #82AF24
triadic
#AF9724 #24AF97 #9724AF
tetradic
#AF9724 #24AF52 #243CAF #AF2482
square
#AF9724 #24AF52 #243CAF #AF2482
split-complementary
#AF9724 #2482AF #5224AF
monochromatic
#493F0F #7C6B1A #AF9724 #D6BB3A #E1CD6D
Accessibility & contrast
On white
2.89
#AF9724 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#AF9724 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9724
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9724 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9724 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79407
Deuteranopia (green-blind)
#AD9B2C
Tritanopia (blue-blind)
#BD8B81
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af9724; /* rgb */ color: rgb(175, 151, 36); /* oklch */ color: oklch(67.9% 0.129 96.5);
Tailwind
colors: {
custom: {
50: '#cbb569',
500: '#af9724',
950: '#000000',
},
}SCSS
$custom: #af9724; $custom-light: #cbb569; $custom-dark: #000000;
JSON
{
"hex": "#af9724",
"rgb": {
"r": 175,
"g": 151,
"b": 36
},
"hsl": {
"h": 49.64,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.67858,
"c": 0.12894,
"h": 96.5
},
"luminance": 0.31375
}Semantic roles & 50–950 ramp
primary
#AF9724
secondary
#6878C7
accent
#5CE93F
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A