#AB9C2D#AB9C2D

#AB9C2D is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.6% C 0.128 H 101.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#AB9C2D
RGBrgb(171, 156, 45)
HSLhsl(53, 58%, 42%)
HSVhsv(53, 74%, 67%)
CMYKcmyk(0%, 8.8%, 73.7%, 32.9%)
CIE-LABlab(63.86, -6.99, 56.64)
CIE-LCHlch(63.86, 57.07, 97.04°)
OKLaboklab(68.6% -0.0251 0.1251)
OKLCHoklch(68.6% 0.128 101.4)
XYZxyz(29.1580, 32.6256, 7.2436)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C2D #2D3CAB
analogous
#AB5D2D #AB9C2D #7BAB2D
triadic
#AB9C2D #2DAB9C #9C2DAB
tetradic
#AB9C2D #2DAB5D #2D3CAB #AB2D7B
square
#AB9C2D #2DAB5D #2D3CAB #AB2D7B
split-complementary
#AB9C2D #2D7BAB #5D2DAB
monochromatic
#4A4414 #7B7020 #AB9C2D #CEBE47 #DBCF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9C2D#FFFFFF#000000##000000
##AB9C2D1.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)
#AB971A
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#B89186
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c2d;
/* rgb */ color: rgb(171, 156, 45);
/* oklch */ color: oklch(68.6% 0.128 101.4);
Tailwind
colors: {
  custom: {
    50: '#c8b86e',
    500: '#ab9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c2d;
$custom-light: #c8b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c2d",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 52.857,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68604,
    "c": 0.12759,
    "h": 101.4
  },
  "luminance": 0.32624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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