#AB9A2B#AB9A2B

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

Color values

HEX#AB9A2B
RGBrgb(171, 154, 43)
HSLhsl(52, 60%, 42%)
HSVhsv(52, 75%, 67%)
CMYKcmyk(0%, 9.9%, 74.9%, 32.9%)
CIE-LABlab(63.30, -6.02, 56.85)
CIE-LCHlch(63.30, 57.17, 96.04°)
OKLaboklab(68.16% -0.0226 0.1251)
OKLCHoklch(68.16% 0.127 100.2)
XYZxyz(28.7876, 31.9449, 6.9347)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A2B #2B3CAB
analogous
#AB5A2B #AB9A2B #7CAB2B
triadic
#AB9A2B #2BAB9A #9A2BAB
tetradic
#AB9A2B #2BAB5A #2B3CAB #AB2B7C
square
#AB9A2B #2BAB5A #2B3CAB #AB2B7C
split-complementary
#AB9A2B #2B7CAB #5A2BAB
monochromatic
#494212 #7A6E1F #AB9A2B #D0BD43 #DCCE74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9A2B#FFFFFF#000000##000000
##AB9A2B1.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)
#A99616
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#B88E85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a2b;
/* rgb */ color: rgb(171, 154, 43);
/* oklch */ color: oklch(68.2% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#c8b76d',
    500: '#ab9a2b',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a2b;
$custom-light: #c8b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a2b",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 43
  },
  "hsl": {
    "h": 52.031,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68156,
    "c": 0.12715,
    "h": 100.2
  },
  "luminance": 0.31944
}

Semantic roles & 50–950 ramp

primary
#AB9A2B
secondary
#6E7AC4
accent
#5AE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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