#AB9A34#AB9A34

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

Color values

HEX#AB9A34
RGBrgb(171, 154, 52)
HSLhsl(51, 53%, 44%)
HSVhsv(51, 70%, 67%)
CMYKcmyk(0%, 9.9%, 69.6%, 32.9%)
CIE-LABlab(63.36, -5.56, 53.40)
CIE-LCHlch(63.36, 53.69, 95.95°)
OKLaboklab(68.22% -0.0203 0.1195)
OKLCHoklch(68.22% 0.121 99.7)
XYZxyz(28.9713, 32.0184, 7.9023)
Luminance0.3202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A34 #3445AB
analogous
#AB5E34 #AB9A34 #80AB34
triadic
#AB9A34 #34AB9A #9A34AB
tetradic
#AB9A34 #34AB5E #3445AB #AB3480
square
#AB9A34 #34AB5E #3445AB #AB3480
split-complementary
#AB9A34 #3480AB #5E34AB
monochromatic
#4D4517 #7C7026 #AB9A34 #CAB952 #D9CC81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9A34#FFFFFF#000000##000000
##AB9A341.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)
#A99626
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a34;
/* rgb */ color: rgb(171, 154, 52);
/* oklch */ color: oklch(68.2% 0.121 99.7);
Tailwind
colors: {
  custom: {
    50: '#c7b771',
    500: '#ab9a34',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a34;
$custom-light: #c7b771;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a34",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 52
  },
  "hsl": {
    "h": 51.429,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68224,
    "c": 0.12123,
    "h": 99.7
  },
  "luminance": 0.32017
}

Semantic roles & 50–950 ramp

primary
#AB9A34
secondary
#7983C2
accent
#60DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9A34

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

Preview Lab → · Contrast checker → · Palette generator →

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