#AB9D2A#AB9D2A

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

Color values

HEX#AB9D2A
RGBrgb(171, 157, 42)
HSLhsl(53, 61%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 8.2%, 75.4%, 32.9%)
CIE-LABlab(64.11, -7.66, 57.98)
CIE-LCHlch(64.11, 58.48, 97.53°)
OKLaboklab(68.8% -0.0273 0.1273)
OKLCHoklch(68.8% 0.13 102.1)
XYZxyz(29.2708, 32.9403, 7.0063)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D2A #2A38AB
analogous
#AB5C2A #AB9D2A #79AB2A
triadic
#AB9D2A #2AAB9D #9D2AAB
tetradic
#AB9D2A #2AAB5C #2A38AB #AB2A79
square
#AB9D2A #2AAB5C #2A38AB #AB2A79
split-complementary
#AB9D2A #2A79AB #5C2AAB
monochromatic
#494312 #7A701E #AB9D2A #D1C142 #DDD173

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9D2A#FFFFFF#000000##000000
##AB9D2A1.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)
#AC9813
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#B89287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9d2a;
/* rgb */ color: rgb(171, 157, 42);
/* oklch */ color: oklch(68.8% 0.130 102.1);
Tailwind
colors: {
  custom: {
    50: '#c8b96d',
    500: '#ab9d2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d2a;
$custom-light: #c8b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d2a",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 53.488,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68801,
    "c": 0.13024,
    "h": 102.1
  },
  "luminance": 0.32939
}

Semantic roles & 50–950 ramp

primary
#AB9D2A
secondary
#6D76C4
accent
#55E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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