#AB9A39#AB9A39

#AB9A39 is a light, moderate yellow. Relative luminance 0.321; OKLCH L 68.3% C 0.118 H 99.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AB9A39
RGBrgb(171, 154, 57)
HSLhsl(51, 50%, 45%)
HSVhsv(51, 67%, 67%)
CMYKcmyk(0%, 9.9%, 66.7%, 32.9%)
CIE-LABlab(63.40, -5.27, 51.32)
CIE-LCHlch(63.40, 51.59, 95.87°)
OKLaboklab(68.27% -0.0189 0.116)
OKLCHoklch(68.27% 0.118 99.3)
XYZxyz(29.0900, 32.0659, 8.5272)
Luminance0.3206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A39 #394AAB
analogous
#AB6139 #AB9A39 #83AB39
triadic
#AB9A39 #39AB9A #9A39AB
tetradic
#AB9A39 #39AB61 #394AAB #AB3983
square
#AB9A39 #39AB61 #394AAB #AB3983
split-complementary
#AB9A39 #3983AB #6139AB
monochromatic
#4F471A #7D712A #AB9A39 #C8B759 #D7CB87

Accessibility & contrast

On white

2.83
#AB9A39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AB9A39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9A39
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9A39#FFFFFF#000000##000000
##AB9A391.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962D
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#B88F86
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a39;
/* rgb */ color: rgb(171, 154, 57);
/* oklch */ color: oklch(68.3% 0.118 99.3);
Tailwind
colors: {
  custom: {
    50: '#c7b774',
    500: '#ab9a39',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a39;
$custom-light: #c7b774;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a39",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 57
  },
  "hsl": {
    "h": 51.053,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68267,
    "c": 0.11751,
    "h": 99.3
  },
  "luminance": 0.32065
}

Semantic roles & 50–950 ramp

primary
#AB9A39
secondary
#7F89C1
accent
#63DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9A39

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

Preview Lab → · Contrast checker → · Palette generator →

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