#AB9C3A#AB9C3A

#AB9C3A is a light, moderate yellow. Relative luminance 0.327; OKLCH L 68.7% C 0.118 H 100.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#AB9C3A
RGBrgb(171, 156, 58)
HSLhsl(52, 49%, 45%)
HSVhsv(52, 66%, 67%)
CMYKcmyk(0%, 8.8%, 66.1%, 32.9%)
CIE-LABlab(63.95, -6.29, 51.47)
CIE-LCHlch(63.95, 51.85, 96.96°)
OKLaboklab(68.71% -0.0217 0.1165)
OKLCHoklch(68.71% 0.118 100.6)
XYZxyz(29.4480, 32.7416, 8.7708)
Luminance0.3274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C3A #3A49AB
analogous
#AB633A #AB9C3A #82AB3A
triadic
#AB9C3A #3AAB9C #9C3AAB
tetradic
#AB9C3A #3AAB63 #3A49AB #AB3A82
square
#AB9C3A #3AAB63 #3A49AB #AB3A82
split-complementary
#AB9C3A #3A82AB #633AAB
monochromatic
#50491B #7D722A #AB9C3A #C7B95B #D7CC89

Accessibility & contrast

On white

2.78
#AB9C3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#AB9C3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9C3A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9C3A#FFFFFF#000000##000000
##AB9C3A1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA982E
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#B89188
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c3a;
/* rgb */ color: rgb(171, 156, 58);
/* oklch */ color: oklch(68.7% 0.118 100.6);
Tailwind
colors: {
  custom: {
    50: '#c7b875',
    500: '#ab9c3a',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c3a;
$custom-light: #c7b875;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c3a",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 58
  },
  "hsl": {
    "h": 52.035,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68709,
    "c": 0.11845,
    "h": 100.6
  },
  "luminance": 0.3274
}

Semantic roles & 50–950 ramp

primary
#AB9C3A
secondary
#8088C1
accent
#61D94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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