#AB9A2D#AB9A2D

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

Color values

HEX#AB9A2D
RGBrgb(171, 154, 45)
HSLhsl(52, 58%, 42%)
HSVhsv(52, 74%, 67%)
CMYKcmyk(0%, 9.9%, 73.7%, 32.9%)
CIE-LABlab(63.31, -5.92, 56.12)
CIE-LCHlch(63.31, 56.43, 96.03°)
OKLaboklab(68.17% -0.0221 0.124)
OKLCHoklch(68.17% 0.126 100.1)
XYZxyz(28.8252, 31.9599, 7.1327)
Luminance0.3196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A2D #2D3EAB
analogous
#AB5B2D #AB9A2D #7DAB2D
triadic
#AB9A2D #2DAB9A #9A2DAB
tetradic
#AB9A2D #2DAB5B #2D3EAB #AB2D7D
square
#AB9A2D #2DAB5B #2D3EAB #AB2D7D
split-complementary
#AB9A2D #2D7DAB #5B2DAB
monochromatic
#4A4314 #7B6E20 #AB9A2D #CEBC47 #DBCE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9A2D#FFFFFF#000000##000000
##AB9A2D1.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)
#A9961A
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a2d;
/* rgb */ color: rgb(171, 154, 45);
/* oklch */ color: oklch(68.2% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#c8b76e',
    500: '#ab9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a2d;
$custom-light: #c8b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a2d",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 51.905,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6817,
    "c": 0.12593,
    "h": 100.1
  },
  "luminance": 0.31959
}

Semantic roles & 50–950 ramp

primary
#AB9A2D
secondary
#717CC3
accent
#5BE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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