#AB9C2C#AB9C2C

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

Color values

HEX#AB9C2C
RGBrgb(171, 156, 44)
HSLhsl(53, 59%, 42%)
HSVhsv(53, 74%, 67%)
CMYKcmyk(0%, 8.8%, 74.3%, 32.9%)
CIE-LABlab(63.85, -7.04, 57.01)
CIE-LCHlch(63.85, 57.44, 97.04°)
OKLaboklab(68.6% -0.0254 0.1257)
OKLCHoklch(68.6% 0.128 101.4)
XYZxyz(29.1390, 32.6180, 7.1434)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C2C #2C3BAB
analogous
#AB5C2C #AB9C2C #7BAB2C
triadic
#AB9C2C #2CAB9C #9C2CAB
tetradic
#AB9C2C #2CAB5C #2C3BAB #AB2C7B
square
#AB9C2C #2CAB5C #2C3BAB #AB2C7B
split-complementary
#AB9C2C #2C7BAB #5C2CAB
monochromatic
#4A4313 #7A701F #AB9C2C #CFBF45 #DCD076

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9C2C#FFFFFF#000000##000000
##AB9C2C1.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)
#AB9718
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#B89186
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c2c;
/* rgb */ color: rgb(171, 156, 44);
/* oklch */ color: oklch(68.6% 0.128 101.4);
Tailwind
colors: {
  custom: {
    50: '#c8b86d',
    500: '#ab9c2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c2c;
$custom-light: #c8b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c2c",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 52.913,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68597,
    "c": 0.12821,
    "h": 101.4
  },
  "luminance": 0.32617
}

Semantic roles & 50–950 ramp

primary
#AB9C2C
secondary
#6F79C3
accent
#58E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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