#AF9726#AF9726
#AF9726 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.128 H 96.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9726 |
|---|---|
| RGB | rgb(175, 151, 38) |
| HSL | hsl(49, 64%, 42%) |
| HSV | hsv(49, 78%, 69%) |
| CMYK | cmyk(0%, 13.7%, 78.3%, 31.4%) |
| CIE-LAB | lab(62.83, -2.82, 58.32) |
| CIE-LCH | lch(62.83, 58.39, 92.77°) |
| OKLab | oklab(67.87% -0.0143 0.1271) |
| OKLCH | oklch(67.87% 0.128 96.4) |
| XYZ | xyz(29.0972, 31.3887, 6.3594) |
| Luminance | 0.3139 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.12
Baby Shit Brown
#AD900D
ΔE00 2.68
Baby Poo
#AB9004
ΔE00 2.70
Dark Gold
#B59410
ΔE00 2.89
Yellow Brown
#B79400
ΔE00 3.61
Ocher
#BF9B0C
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9726 #263EAF
analogous
#AF5326 #AF9726 #83AF26
triadic
#AF9726 #26AF97 #9726AF
tetradic
#AF9726 #26AF53 #263EAF #AF2683
square
#AF9726 #26AF53 #263EAF #AF2683
split-complementary
#AF9726 #2683AF #5326AF
monochromatic
#4A4010 #7D6C1B #AF9726 #D5BA3D #E0CC70
Accessibility & contrast
On white
2.89
#AF9726 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#AF9726 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9726
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9726 | 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)
#A7940C
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#BD8B82
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af9726; /* rgb */ color: rgb(175, 151, 38); /* oklch */ color: oklch(67.9% 0.128 96.4);
Tailwind
colors: {
custom: {
50: '#cbb56a',
500: '#af9726',
950: '#000000',
},
}SCSS
$custom: #af9726; $custom-light: #cbb56a; $custom-dark: #000000;
JSON
{
"hex": "#af9726",
"rgb": {
"r": 175,
"g": 151,
"b": 38
},
"hsl": {
"h": 49.489,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.67869,
"c": 0.1279,
"h": 96.4
},
"luminance": 0.31387
}Semantic roles & 50–950 ramp
primary
#AF9726
secondary
#6A7AC7
accent
#5EE740
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A