#AB9C2B#AB9C2B

#AB9C2B 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#AB9C2B
RGBrgb(171, 156, 43)
HSLhsl(53, 60%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 8.8%, 74.9%, 32.9%)
CIE-LABlab(63.84, -7.08, 57.37)
CIE-LCHlch(63.84, 57.80, 97.04°)
OKLaboklab(68.59% -0.0256 0.1262)
OKLCHoklch(68.59% 0.129 101.5)
XYZxyz(29.1204, 32.6106, 7.0456)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C2B #2B3AAB
analogous
#AB5C2B #AB9C2B #7AAB2B
triadic
#AB9C2B #2BAB9C #9C2BAB
tetradic
#AB9C2B #2BAB5C #2B3AAB #AB2B7A
square
#AB9C2B #2BAB5C #2B3AAB #AB2B7A
split-complementary
#AB9C2B #2B7AAB #5C2BAB
monochromatic
#494312 #7A6F1F #AB9C2B #D0BF43 #DCD074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9C2B#FFFFFF#000000##000000
##AB9C2B1.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)
#AB9716
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#B89186
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c2b;
/* rgb */ color: rgb(171, 156, 43);
/* oklch */ color: oklch(68.6% 0.129 101.5);
Tailwind
colors: {
  custom: {
    50: '#c8b86d',
    500: '#ab9c2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c2b;
$custom-light: #c8b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c2b",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 52.969,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6859,
    "c": 0.12881,
    "h": 101.5
  },
  "luminance": 0.32609
}

Semantic roles & 50–950 ramp

primary
#AB9C2B
secondary
#6E78C4
accent
#57E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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