#AF9725#AF9725
#AF9725 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.128 H 96.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9725 |
|---|---|
| RGB | rgb(175, 151, 37) |
| HSL | hsl(50, 65%, 42%) |
| HSV | hsv(50, 79%, 69%) |
| CMYK | cmyk(0%, 13.7%, 78.9%, 31.4%) |
| CIE-LAB | lab(62.83, -2.86, 58.66) |
| CIE-LCH | lch(62.83, 58.73, 92.79°) |
| OKLab | oklab(67.86% -0.0145 0.1276) |
| OKLCH | oklch(67.86% 0.128 96.5) |
| XYZ | xyz(29.0813, 31.3823, 6.2755) |
| Luminance | 0.3138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.04
Baby Shit Brown
#AD900D
ΔE00 2.65
Baby Poo
#AB9004
ΔE00 2.65
Dark Gold
#B59410
ΔE00 2.86
Yellow Brown
#B79400
ΔE00 3.57
Ocher
#BF9B0C
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9725 #253DAF
analogous
#AF5225 #AF9725 #82AF25
triadic
#AF9725 #25AF97 #9725AF
tetradic
#AF9725 #25AF52 #253DAF #AF2582
square
#AF9725 #25AF52 #253DAF #AF2582
split-complementary
#AF9725 #2582AF #5225AF
monochromatic
#4A4010 #7C6B1A #AF9725 #D6BB3C #E0CC6E
Accessibility & contrast
On white
2.89
#AF9725 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#AF9725 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9725
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9725 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9725 | 1.00 | 2.89 | 7.28 | 7.28 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7940A
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#BD8B82
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af9725; /* rgb */ color: rgb(175, 151, 37); /* oklch */ color: oklch(67.9% 0.128 96.5);
Tailwind
colors: {
custom: {
50: '#cbb56a',
500: '#af9725',
950: '#000000',
},
}SCSS
$custom: #af9725; $custom-light: #cbb56a; $custom-dark: #000000;
JSON
{
"hex": "#af9725",
"rgb": {
"r": 175,
"g": 151,
"b": 37
},
"hsl": {
"h": 49.565,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.67863,
"c": 0.12843,
"h": 96.5
},
"luminance": 0.31381
}Semantic roles & 50–950 ramp
primary
#AF9725
secondary
#6979C7
accent
#5DE840
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A