#AF9825#AF9825
#AF9825 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.1% C 0.129 H 97.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9825 |
|---|---|
| RGB | rgb(175, 152, 37) |
| HSL | hsl(50, 65%, 42%) |
| HSV | hsv(50, 79%, 69%) |
| CMYK | cmyk(0%, 13.1%, 78.9%, 31.4%) |
| CIE-LAB | lab(63.10, -3.40, 58.90) |
| CIE-LCH | lch(63.10, 59.00, 93.30°) |
| OKLab | oklab(68.08% -0.016 0.1281) |
| OKLCH | oklch(68.08% 0.129 97.1) |
| XYZ | xyz(29.2429, 31.7056, 6.3294) |
| Luminance | 0.3170 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.09
Baby Poo
#AB9004
ΔE00 2.93
Baby Shit Brown
#AD900D
ΔE00 2.99
Dark Gold
#B59410
ΔE00 3.15
Yellow Brown
#B79400
ΔE00 3.83
Ocher
#BF9B0C
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9825 #253CAF
analogous
#AF5325 #AF9825 #81AF25
triadic
#AF9825 #25AF98 #9825AF
tetradic
#AF9825 #25AF53 #253CAF #AF2581
square
#AF9825 #25AF53 #253CAF #AF2581
split-complementary
#AF9825 #2581AF #5325AF
monochromatic
#4A4010 #7C6C1A #AF9825 #D6BC3C #E0CD6E
Accessibility & contrast
On white
2.86
#AF9825 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#AF9825 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9825
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9825 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9825 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89409
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#BD8C82
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af9825; /* rgb */ color: rgb(175, 152, 37); /* oklch */ color: oklch(68.1% 0.129 97.1);
Tailwind
colors: {
custom: {
50: '#cbb56a',
500: '#af9825',
950: '#000000',
},
}SCSS
$custom: #af9825; $custom-light: #cbb56a; $custom-dark: #000000;
JSON
{
"hex": "#af9825",
"rgb": {
"r": 175,
"g": 152,
"b": 37
},
"hsl": {
"h": 50,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.68077,
"c": 0.12913,
"h": 97.1
},
"luminance": 0.31704
}Semantic roles & 50–950 ramp
primary
#AF9825
secondary
#6979C7
accent
#5CE840
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A