#AB9930#AB9930
#AB9930 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.123 H 99.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9930 |
|---|---|
| RGB | rgb(171, 153, 48) |
| HSL | hsl(51, 56%, 43%) |
| HSV | hsv(51, 72%, 67%) |
| CMYK | cmyk(0%, 10.5%, 71.9%, 32.9%) |
| CIE-LAB | lab(63.06, -5.24, 54.71) |
| CIE-LCH | lch(63.06, 54.96, 95.47°) |
| OKLab | oklab(67.98% -0.0199 0.1216) |
| OKLCH | oklch(67.98% 0.123 99.3) |
| XYZ | xyz(28.7207, 31.6552, 7.3930) |
| Luminance | 0.3165 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.81
Baby Poo
#AB9004
ΔE00 4.26
Baby Shit Brown
#AD900D
ΔE00 4.40
Dark Gold
#B59410
ΔE00 4.87
Yellow Brown
#B79400
ΔE00 5.58
Ocher
#BF9B0C
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9930 #3042AB
analogous
#AB5C30 #AB9930 #7FAB30
triadic
#AB9930 #30AB99 #9930AB
tetradic
#AB9930 #30AB5C #3042AB #AB307F
square
#AB9930 #30AB5C #3042AB #AB307F
split-complementary
#AB9930 #307FAB #5C30AB
monochromatic
#4B4315 #7B6E23 #AB9930 #CDBA4C #DACC7B
Accessibility & contrast
On white
2.86
#AB9930 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#AB9930 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9930
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9930 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9930 | 1.00 | 2.86 | 7.33 | 7.33 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab9930; /* rgb */ color: rgb(171, 153, 48); /* oklch */ color: oklch(68.0% 0.123 99.3);
Tailwind
colors: {
custom: {
50: '#c8b66f',
500: '#ab9930',
950: '#000000',
},
}SCSS
$custom: #ab9930; $custom-light: #c8b66f; $custom-dark: #000000;
JSON
{
"hex": "#ab9930",
"rgb": {
"r": 171,
"g": 153,
"b": 48
},
"hsl": {
"h": 51.22,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.67976,
"c": 0.12317,
"h": 99.3
},
"luminance": 0.31654
}Semantic roles & 50–950 ramp
primary
#AB9930
secondary
#7480C3
accent
#5EDF48
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B