#AB9526#AB9526
#AB9526 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.0% C 0.126 H 97.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9526 |
|---|---|
| RGB | rgb(171, 149, 38) |
| HSL | hsl(50, 64%, 41%) |
| HSV | hsv(50, 78%, 67%) |
| CMYK | cmyk(0%, 12.9%, 77.8%, 32.9%) |
| CIE-LAB | lab(61.91, -3.54, 57.33) |
| CIE-LCH | lch(61.91, 57.44, 93.53°) |
| OKLab | oklab(67.05% -0.0161 0.1252) |
| OKLCH | oklch(67.05% 0.126 97.3) |
| XYZ | xyz(27.8933, 30.2942, 6.2115) |
| Luminance | 0.3029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 2.59
Baby Shit Brown
#AD900D
ΔE00 2.71
Brown Yellow
#B29705
ΔE00 2.71
Dark Gold
#B59410
ΔE00 3.48
Yellow Brown
#B79400
ΔE00 4.22
Dark Mustard
#A88905
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9526 #263CAB
analogous
#AB5226 #AB9526 #7EAB26
triadic
#AB9526 #26AB95 #9526AB
tetradic
#AB9526 #26AB52 #263CAB #AB267E
square
#AB9526 #26AB52 #263CAB #AB267E
split-complementary
#AB9526 #267EAB #5226AB
monochromatic
#473E10 #79691B #AB9526 #D3BA3B #DFCC6D
Accessibility & contrast
On white
2.98
#AB9526 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#AB9526 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9526
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9526 | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5910E
Deuteranopia (green-blind)
#AA992E
Tritanopia (blue-blind)
#B98980
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ab9526; /* rgb */ color: rgb(171, 149, 38); /* oklch */ color: oklch(67.0% 0.126 97.3);
Tailwind
colors: {
custom: {
50: '#c8b36a',
500: '#ab9526',
950: '#000000',
},
}SCSS
$custom: #ab9526; $custom-light: #c8b36a; $custom-dark: #000000;
JSON
{
"hex": "#ab9526",
"rgb": {
"r": 171,
"g": 149,
"b": 38
},
"hsl": {
"h": 50.075,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.67045,
"c": 0.12619,
"h": 97.3
},
"luminance": 0.30293
}Semantic roles & 50–950 ramp
primary
#AB9526
secondary
#6877C5
accent
#5DE741
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A