#AB9527#AB9527
#AB9527 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.1% C 0.126 H 97.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9527 |
|---|---|
| RGB | rgb(171, 149, 39) |
| HSL | hsl(50, 63%, 41%) |
| HSV | hsv(50, 77%, 67%) |
| CMYK | cmyk(0%, 12.9%, 77.2%, 32.9%) |
| CIE-LAB | lab(61.91, -3.50, 56.99) |
| CIE-LCH | lch(61.91, 57.09, 93.51°) |
| OKLab | oklab(67.05% -0.0159 0.1246) |
| OKLCH | oklch(67.05% 0.126 97.3) |
| XYZ | xyz(27.9097, 30.3008, 6.2976) |
| Luminance | 0.3030 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 2.65
Baby Shit Brown
#AD900D
ΔE00 2.75
Brown Yellow
#B29705
ΔE00 2.79
Dark Gold
#B59410
ΔE00 3.52
Yellow Brown
#B79400
ΔE00 4.26
Dark Mustard
#A88905
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9527 #273DAB
analogous
#AB5327 #AB9527 #7FAB27
triadic
#AB9527 #27AB95 #9527AB
tetradic
#AB9527 #27AB53 #273DAB #AB277F
square
#AB9527 #27AB53 #273DAB #AB277F
split-complementary
#AB9527 #277FAB #5327AB
monochromatic
#473E10 #796A1C #AB9527 #D3BA3D #DECB6E
Accessibility & contrast
On white
2.97
#AB9527 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#AB9527 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9527
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9527 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9527 | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 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)
#A59110
Deuteranopia (green-blind)
#AA992E
Tritanopia (blue-blind)
#B98980
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ab9527; /* rgb */ color: rgb(171, 149, 39); /* oklch */ color: oklch(67.1% 0.126 97.3);
Tailwind
colors: {
custom: {
50: '#c8b36a',
500: '#ab9527',
950: '#000000',
},
}SCSS
$custom: #ab9527; $custom-light: #c8b36a; $custom-dark: #000000;
JSON
{
"hex": "#ab9527",
"rgb": {
"r": 171,
"g": 149,
"b": 39
},
"hsl": {
"h": 50,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.67051,
"c": 0.12564,
"h": 97.3
},
"luminance": 0.30299
}Semantic roles & 50–950 ramp
primary
#AB9527
secondary
#6978C5
accent
#5DE642
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A