#AF9924#AF9924
#AF9924 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.3% C 0.130 H 97.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9924 |
|---|---|
| RGB | rgb(175, 153, 36) |
| HSL | hsl(51, 66%, 41%) |
| HSV | hsv(51, 79%, 69%) |
| CMYK | cmyk(0%, 12.6%, 79.4%, 31.4%) |
| CIE-LAB | lab(63.36, -3.97, 59.47) |
| CIE-LCH | lch(63.36, 59.60, 93.82°) |
| OKLab | oklab(68.29% -0.0177 0.1291) |
| OKLCH | oklch(68.29% 0.13 97.8) |
| XYZ | xyz(29.3904, 32.0254, 6.3022) |
| Luminance | 0.3202 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.16
Baby Poo
#AB9004
ΔE00 3.20
Baby Shit Brown
#AD900D
ΔE00 3.32
Dark Gold
#B59410
ΔE00 3.45
Yellow Brown
#B79400
ΔE00 4.09
Ocher
#BF9B0C
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9924 #243AAF
analogous
#AF5424 #AF9924 #80AF24
triadic
#AF9924 #24AF99 #9924AF
tetradic
#AF9924 #24AF54 #243AAF #AF2480
square
#AF9924 #24AF54 #243AAF #AF2480
split-complementary
#AF9924 #2480AF #5424AF
monochromatic
#49400F #7C6D1A #AF9924 #D6BE3A #E1CE6D
Accessibility & contrast
On white
2.84
#AF9924 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.40
#AF9924 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9924
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9924 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9924 | 1.00 | 2.84 | 7.40 | 7.40 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99505
Deuteranopia (green-blind)
#AF9D2C
Tritanopia (blue-blind)
#BD8D83
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af9924; /* rgb */ color: rgb(175, 153, 36); /* oklch */ color: oklch(68.3% 0.130 97.8);
Tailwind
colors: {
custom: {
50: '#cbb669',
500: '#af9924',
950: '#000000',
},
}SCSS
$custom: #af9924; $custom-light: #cbb669; $custom-dark: #000000;
JSON
{
"hex": "#af9924",
"rgb": {
"r": 175,
"g": 153,
"b": 36
},
"hsl": {
"h": 50.504,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.68285,
"c": 0.13036,
"h": 97.8
},
"luminance": 0.32024
}Semantic roles & 50–950 ramp
primary
#AF9924
secondary
#6877C7
accent
#5AE93F
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A