#AB9730#AB9730
#AB9730 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.5% C 0.122 H 97.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9730 |
|---|---|
| RGB | rgb(171, 151, 48) |
| HSL | hsl(50, 56%, 43%) |
| HSV | hsv(50, 72%, 67%) |
| CMYK | cmyk(0%, 11.7%, 71.9%, 32.9%) |
| CIE-LAB | lab(62.51, -4.16, 54.17) |
| CIE-LCH | lch(62.51, 54.33, 94.39°) |
| OKLab | oklab(67.54% -0.0168 0.1204) |
| OKLCH | oklch(67.54% 0.122 97.9) |
| XYZ | xyz(28.3961, 31.0060, 7.2848) |
| Luminance | 0.3100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.60
Baby Poo
#AB9004
ΔE00 3.74
Baby Shit Brown
#AD900D
ΔE00 3.80
Dark Gold
#B59410
ΔE00 4.36
Yellow Brown
#B79400
ΔE00 5.12
Dark Mustard
#A88905
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9730 #3044AB
analogous
#AB5930 #AB9730 #81AB30
triadic
#AB9730 #30AB97 #9730AB
tetradic
#AB9730 #30AB59 #3044AB #AB3081
square
#AB9730 #30AB59 #3044AB #AB3081
split-complementary
#AB9730 #3081AB #5930AB
monochromatic
#4B4315 #7B6D23 #AB9730 #CDB84C #DACB7B
Accessibility & contrast
On white
2.92
#AB9730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#AB9730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9730
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9730 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69320
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#B98C82
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #ab9730; /* rgb */ color: rgb(171, 151, 48); /* oklch */ color: oklch(67.5% 0.122 97.9);
Tailwind
colors: {
custom: {
50: '#c8b56f',
500: '#ab9730',
950: '#000000',
},
}SCSS
$custom: #ab9730; $custom-light: #c8b56f; $custom-dark: #000000;
JSON
{
"hex": "#ab9730",
"rgb": {
"r": 171,
"g": 151,
"b": 48
},
"hsl": {
"h": 50.244,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.67544,
"c": 0.12159,
"h": 97.9
},
"luminance": 0.31005
}Semantic roles & 50–950 ramp
primary
#AB9730
secondary
#7481C3
accent
#61DF48
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B