#AB9A2C#AB9A2C

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

Color values

HEX#AB9A2C
RGBrgb(171, 154, 44)
HSLhsl(52, 59%, 42%)
HSVhsv(52, 74%, 67%)
CMYKcmyk(0%, 9.9%, 74.3%, 32.9%)
CIE-LABlab(63.30, -5.97, 56.49)
CIE-LCHlch(63.30, 56.80, 96.03°)
OKLaboklab(68.16% -0.0224 0.1246)
OKLCHoklch(68.16% 0.127 100.2)
XYZxyz(28.8062, 31.9523, 7.0325)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A2C #2C3DAB
analogous
#AB5B2C #AB9A2C #7CAB2C
triadic
#AB9A2C #2CAB9A #9A2CAB
tetradic
#AB9A2C #2CAB5B #2C3DAB #AB2C7C
square
#AB9A2C #2CAB5B #2C3DAB #AB2C7C
split-complementary
#AB9A2C #2C7CAB #5B2CAB
monochromatic
#4A4213 #7A6E1F #AB9A2C #CFBD45 #DCCE76

Accessibility & contrast

On white

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

On black

7.39
#AB9A2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9A2C
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9A2C#FFFFFF#000000##000000
##AB9A2C1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99618
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#B88E85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a2c;
/* rgb */ color: rgb(171, 154, 44);
/* oklch */ color: oklch(68.2% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#c8b76d',
    500: '#ab9a2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a2c;
$custom-light: #c8b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a2c",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 51.969,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68163,
    "c": 0.12655,
    "h": 100.2
  },
  "luminance": 0.31951
}

Semantic roles & 50–950 ramp

primary
#AB9A2C
secondary
#6F7BC3
accent
#5BE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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