#AB9934#AB9934

#AB9934 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.120 H 99.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AB9934
RGBrgb(171, 153, 52)
HSLhsl(51, 53%, 44%)
HSVhsv(51, 70%, 67%)
CMYKcmyk(0%, 10.5%, 69.6%, 32.9%)
CIE-LABlab(63.09, -5.03, 53.12)
CIE-LCHlch(63.09, 53.36, 95.41°)
OKLaboklab(68.01% -0.0188 0.1189)
OKLCHoklch(68.01% 0.12 99)
XYZxyz(28.8070, 31.6897, 7.8475)
Luminance0.3169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9934 #3446AB
analogous
#AB5D34 #AB9934 #81AB34
triadic
#AB9934 #34AB99 #9934AB
tetradic
#AB9934 #34AB5D #3446AB #AB3481
square
#AB9934 #34AB5D #3446AB #AB3481
split-complementary
#AB9934 #3481AB #5D34AB
monochromatic
#4D4517 #7C6F26 #AB9934 #CAB852 #D9CB81

Accessibility & contrast

On white

2.86
#AB9934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AB9934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9934
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9934#FFFFFF#000000##000000
##AB99341.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89526
Deuteranopia (green-blind)
#AD9B3A
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9934;
/* rgb */ color: rgb(171, 153, 52);
/* oklch */ color: oklch(68.0% 0.120 99.0);
Tailwind
colors: {
  custom: {
    50: '#c7b671',
    500: '#ab9934',
    950: '#000000',
  },
}
SCSS
$custom: #ab9934;
$custom-light: #c7b671;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9934",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 50.924,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68008,
    "c": 0.12041,
    "h": 99
  },
  "luminance": 0.31688
}

Semantic roles & 50–950 ramp

primary
#AB9934
secondary
#7984C2
accent
#61DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9934

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

Preview Lab → · Contrast checker → · Palette generator →

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