#AB9B2A#AB9B2A

#AB9B2A is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.4% C 0.129 H 100.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#AB9B2A
RGBrgb(171, 155, 42)
HSLhsl(53, 61%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 9.4%, 75.4%, 32.9%)
CIE-LABlab(63.56, -6.59, 57.46)
CIE-LCHlch(63.56, 57.84, 96.55°)
OKLaboklab(68.37% -0.0243 0.1263)
OKLCHoklch(68.37% 0.129 100.9)
XYZxyz(28.9352, 32.2691, 6.8945)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9B2A #2A3AAB
analogous
#AB5B2A #AB9B2A #7BAB2A
triadic
#AB9B2A #2AAB9B #9B2AAB
tetradic
#AB9B2A #2AAB5B #2A3AAB #AB2A7B
square
#AB9B2A #2AAB5B #2A3AAB #AB2A7B
split-complementary
#AB9B2A #2A7BAB #5B2AAB
monochromatic
#494212 #7A6E1E #AB9B2A #D1BF42 #DDCF73

Accessibility & contrast

On white

2.82
#AB9B2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#AB9B2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9B2A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9B2A#FFFFFF#000000##000000
##AB9B2A1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9614
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab9b2a;
/* rgb */ color: rgb(171, 155, 42);
/* oklch */ color: oklch(68.4% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#c8b86c',
    500: '#ab9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab9b2a;
$custom-light: #c8b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9b2a",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 52.558,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68366,
    "c": 0.12857,
    "h": 100.9
  },
  "luminance": 0.32268
}

Semantic roles & 50–950 ramp

primary
#AB9B2A
secondary
#6D78C4
accent
#58E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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