#AB9933#AB9933
#AB9933 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.121 H 99.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9933 |
|---|---|
| RGB | rgb(171, 153, 51) |
| HSL | hsl(51, 54%, 44%) |
| HSV | hsv(51, 70%, 67%) |
| CMYK | cmyk(0%, 10.5%, 70.2%, 32.9%) |
| CIE-LAB | lab(63.08, -5.08, 53.53) |
| CIE-LCH | lch(63.08, 53.77, 95.42°) |
| OKLab | oklab(68% -0.0191 0.1196) |
| OKLCH | oklch(68% 0.121 99.1) |
| XYZ | xyz(28.7847, 31.6808, 7.7301) |
| Luminance | 0.3168 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.06
Baby Poo
#AB9004
ΔE00 4.45
Baby Shit Brown
#AD900D
ΔE00 4.56
Dark Gold
#B59410
ΔE00 5.01
Yellow Brown
#B79400
ΔE00 5.74
Ocher
#BF9B0C
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9933 #3345AB
analogous
#AB5D33 #AB9933 #81AB33
triadic
#AB9933 #33AB99 #9933AB
tetradic
#AB9933 #33AB5D #3345AB #AB3381
square
#AB9933 #33AB5D #3345AB #AB3381
split-complementary
#AB9933 #3381AB #5D33AB
monochromatic
#4D4517 #7C6F25 #AB9933 #CBB950 #D9CC7F
Accessibility & contrast
On white
2.86
#AB9933 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#AB9933 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9933
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9933 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9933 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89524
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab9933; /* rgb */ color: rgb(171, 153, 51); /* oklch */ color: oklch(68.0% 0.121 99.1);
Tailwind
colors: {
custom: {
50: '#c7b671',
500: '#ab9933',
950: '#000000',
},
}SCSS
$custom: #ab9933; $custom-light: #c7b671; $custom-dark: #000000;
JSON
{
"hex": "#ab9933",
"rgb": {
"r": 171,
"g": 153,
"b": 51
},
"hsl": {
"h": 51,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.67999,
"c": 0.12112,
"h": 99.1
},
"luminance": 0.31679
}Semantic roles & 50–950 ramp
primary
#AB9933
secondary
#7883C2
accent
#60DD4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B