#AB9D2D#AB9D2D

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

Color values

HEX#AB9D2D
RGBrgb(171, 157, 45)
HSLhsl(53, 58%, 42%)
HSVhsv(53, 74%, 67%)
CMYKcmyk(0%, 8.2%, 73.7%, 32.9%)
CIE-LABlab(64.13, -7.53, 56.91)
CIE-LCHlch(64.13, 57.40, 97.53°)
OKLaboklab(68.82% -0.0266 0.1256)
OKLCHoklch(68.82% 0.128 102)
XYZxyz(29.3265, 32.9626, 7.2998)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D2D #2D3BAB
analogous
#AB5E2D #AB9D2D #7AAB2D
triadic
#AB9D2D #2DAB9D #9D2DAB
tetradic
#AB9D2D #2DAB5E #2D3BAB #AB2D7A
square
#AB9D2D #2DAB5E #2D3BAB #AB2D7A
split-complementary
#AB9D2D #2D7AAB #5E2DAB
monochromatic
#4A4414 #7B7120 #AB9D2D #CEBF47 #DBD077

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9D2D#FFFFFF#000000##000000
##AB9D2D1.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)
#AC9819
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#B89287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9d2d;
/* rgb */ color: rgb(171, 157, 45);
/* oklch */ color: oklch(68.8% 0.128 102.0);
Tailwind
colors: {
  custom: {
    50: '#c8b96e',
    500: '#ab9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d2d;
$custom-light: #c8b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d2d",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 53.333,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68822,
    "c": 0.12844,
    "h": 102
  },
  "luminance": 0.32961
}

Semantic roles & 50–950 ramp

primary
#AB9D2D
secondary
#717AC3
accent
#58E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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