#AF9C26#AF9C26
#AF9C26 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.9% C 0.132 H 99.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9C26 |
|---|---|
| RGB | rgb(175, 156, 38) |
| HSL | hsl(52, 64%, 42%) |
| HSV | hsv(52, 78%, 69%) |
| CMYK | cmyk(0%, 10.9%, 78.3%, 31.4%) |
| CIE-LAB | lab(64.19, -5.51, 59.56) |
| CIE-LCH | lch(64.19, 59.81, 95.28°) |
| OKLab | oklab(68.94% -0.0219 0.1297) |
| OKLCH | oklch(68.94% 0.132 99.6) |
| XYZ | xyz(29.9190, 33.0323, 6.6333) |
| Luminance | 0.3303 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.98
Baby Poo
#AB9004
ΔE00 4.26
Baby Shit Brown
#AD900D
ΔE00 4.46
Dark Gold
#B59410
ΔE00 4.52
Ocher
#BF9B0C
ΔE00 5.08
Yellow Brown
#B79400
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9C26 #2639AF
analogous
#AF5826 #AF9C26 #7EAF26
triadic
#AF9C26 #26AF9C #9C26AF
tetradic
#AF9C26 #26AF58 #2639AF #AF267E
square
#AF9C26 #26AF58 #2639AF #AF267E
split-complementary
#AF9C26 #267EAF #5826AF
monochromatic
#4A4210 #7D6F1B #AF9C26 #D5C03D #E0D070
Accessibility & contrast
On white
2.76
#AF9C26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#AF9C26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9C26
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9C26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9C26 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9809
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#BD9086
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #af9c26; /* rgb */ color: rgb(175, 156, 38); /* oklch */ color: oklch(68.9% 0.132 99.6);
Tailwind
colors: {
custom: {
50: '#cbb86b',
500: '#af9c26',
950: '#000000',
},
}SCSS
$custom: #af9c26; $custom-light: #cbb86b; $custom-dark: #000000;
JSON
{
"hex": "#af9c26",
"rgb": {
"r": 175,
"g": 156,
"b": 38
},
"hsl": {
"h": 51.679,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.68941,
"c": 0.13157,
"h": 99.6
},
"luminance": 0.33031
}Semantic roles & 50–950 ramp
primary
#AF9C26
secondary
#6A77C7
accent
#58E740
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A