#AB9A33#AB9A33

#AB9A33 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.122 H 99.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#AB9A33
RGBrgb(171, 154, 51)
HSLhsl(52, 54%, 44%)
HSVhsv(52, 70%, 67%)
CMYKcmyk(0%, 9.9%, 70.2%, 32.9%)
CIE-LABlab(63.35, -5.62, 53.80)
CIE-LCHlch(63.35, 54.09, 95.96°)
OKLaboklab(68.22% -0.0206 0.1202)
OKLCHoklch(68.22% 0.122 99.7)
XYZxyz(28.9490, 32.0095, 7.7849)
Luminance0.3201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A33 #3344AB
analogous
#AB5E33 #AB9A33 #80AB33
triadic
#AB9A33 #33AB9A #9A33AB
tetradic
#AB9A33 #33AB5E #3344AB #AB3380
square
#AB9A33 #33AB5E #3344AB #AB3380
split-complementary
#AB9A33 #3380AB #5E33AB
monochromatic
#4D4517 #7C7025 #AB9A33 #CBBA50 #D9CC7F

Accessibility & contrast

On white

2.84
#AB9A33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#AB9A33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9A33
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9A33#FFFFFF#000000##000000
##AB9A331.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99624
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a33;
/* rgb */ color: rgb(171, 154, 51);
/* oklch */ color: oklch(68.2% 0.122 99.7);
Tailwind
colors: {
  custom: {
    50: '#c7b771',
    500: '#ab9a33',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a33;
$custom-light: #c7b771;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a33",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 51
  },
  "hsl": {
    "h": 51.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68215,
    "c": 0.12194,
    "h": 99.7
  },
  "luminance": 0.32008
}

Semantic roles & 50–950 ramp

primary
#AB9A33
secondary
#7882C2
accent
#5FDD4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9A33

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB9A33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva