#AB9C2A#AB9C2A

#AB9C2A is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.6% C 0.129 H 101.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#AB9C2A
RGBrgb(171, 156, 42)
HSLhsl(53, 61%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 8.8%, 75.4%, 32.9%)
CIE-LABlab(63.84, -7.13, 57.72)
CIE-LCHlch(63.84, 58.16, 97.04°)
OKLaboklab(68.58% -0.0258 0.1268)
OKLCHoklch(68.58% 0.129 101.5)
XYZxyz(29.1023, 32.6033, 6.9502)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C2A #2A39AB
analogous
#AB5C2A #AB9C2A #7AAB2A
triadic
#AB9C2A #2AAB9C #9C2AAB
tetradic
#AB9C2A #2AAB5C #2A39AB #AB2A7A
square
#AB9C2A #2AAB5C #2A39AB #AB2A7A
split-complementary
#AB9C2A #2A7AAB #5C2AAB
monochromatic
#494212 #7A6F1E #AB9C2A #D1C042 #DDD073

Accessibility & contrast

On white

2.79
#AB9C2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#AB9C2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9C2A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9C2A#FFFFFF#000000##000000
##AB9C2A1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9714
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#B89086
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c2a;
/* rgb */ color: rgb(171, 156, 42);
/* oklch */ color: oklch(68.6% 0.129 101.5);
Tailwind
colors: {
  custom: {
    50: '#c8b86c',
    500: '#ab9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c2a;
$custom-light: #c8b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c2a",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 53.023,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68584,
    "c": 0.1294,
    "h": 101.5
  },
  "luminance": 0.32602
}

Semantic roles & 50–950 ramp

primary
#AB9C2A
secondary
#6D77C4
accent
#57E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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