#AB9D2C#AB9D2C

#AB9D2C is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.8% C 0.129 H 102.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AB9D2C
RGBrgb(171, 157, 44)
HSLhsl(53, 59%, 42%)
HSVhsv(53, 74%, 67%)
CMYKcmyk(0%, 8.2%, 74.3%, 32.9%)
CIE-LABlab(64.12, -7.57, 57.27)
CIE-LCHlch(64.12, 57.77, 97.53°)
OKLaboklab(68.82% -0.0269 0.1262)
OKLCHoklch(68.82% 0.129 102)
XYZxyz(29.3075, 32.9550, 7.1996)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D2C #2C3AAB
analogous
#AB5E2C #AB9D2C #7AAB2C
triadic
#AB9D2C #2CAB9D #9D2CAB
tetradic
#AB9D2C #2CAB5E #2C3AAB #AB2C7A
square
#AB9D2C #2CAB5E #2C3AAB #AB2C7A
split-complementary
#AB9D2C #2C7AAB #5E2CAB
monochromatic
#4A4413 #7A701F #AB9D2C #CFC045 #DCD076

Accessibility & contrast

On white

2.77
#AB9D2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#AB9D2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D2C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D2C#FFFFFF#000000##000000
##AB9D2C1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9817
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#B89287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9d2c;
/* rgb */ color: rgb(171, 157, 44);
/* oklch */ color: oklch(68.8% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#c8b96e',
    500: '#ab9d2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d2c;
$custom-light: #c8b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d2c",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 53.386,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68815,
    "c": 0.12905,
    "h": 102
  },
  "luminance": 0.32954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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