#AF9B26#AF9B26
#AF9B26 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.7% C 0.131 H 99.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9B26 |
|---|---|
| RGB | rgb(175, 155, 38) |
| HSL | hsl(51, 64%, 42%) |
| HSV | hsv(51, 78%, 69%) |
| CMYK | cmyk(0%, 11.4%, 78.3%, 31.4%) |
| CIE-LAB | lab(63.92, -4.97, 59.31) |
| CIE-LCH | lch(63.92, 59.52, 94.79°) |
| OKLab | oklab(68.73% -0.0203 0.1292) |
| OKLCH | oklch(68.73% 0.131 99) |
| XYZ | xyz(29.7519, 32.6981, 6.5776) |
| Luminance | 0.3270 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.71
Baby Poo
#AB9004
ΔE00 3.91
Baby Shit Brown
#AD900D
ΔE00 4.09
Dark Gold
#B59410
ΔE00 4.17
Yellow Brown
#B79400
ΔE00 4.76
Ocher
#BF9B0C
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9B26 #263AAF
analogous
#AF5726 #AF9B26 #7FAF26
triadic
#AF9B26 #26AF9B #9B26AF
tetradic
#AF9B26 #26AF57 #263AAF #AF267F
square
#AF9B26 #26AF57 #263AAF #AF267F
split-complementary
#AF9B26 #267FAF #5726AF
monochromatic
#4A4210 #7D6E1B #AF9B26 #D5BF3D #E0CF70
Accessibility & contrast
On white
2.79
#AF9B26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#AF9B26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9B26
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9B26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9B26 | 1.00 | 2.79 | 7.54 | 7.54 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB970A
Deuteranopia (green-blind)
#B09E2E
Tritanopia (blue-blind)
#BD8F85
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #af9b26; /* rgb */ color: rgb(175, 155, 38); /* oklch */ color: oklch(68.7% 0.131 99.0);
Tailwind
colors: {
custom: {
50: '#cbb86a',
500: '#af9b26',
950: '#000000',
},
}SCSS
$custom: #af9b26; $custom-light: #cbb86a; $custom-dark: #000000;
JSON
{
"hex": "#af9b26",
"rgb": {
"r": 175,
"g": 155,
"b": 38
},
"hsl": {
"h": 51.241,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.68726,
"c": 0.1308,
"h": 99
},
"luminance": 0.32697
}Semantic roles & 50–950 ramp
primary
#AF9B26
secondary
#6A78C7
accent
#59E740
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A