#AB9F2A#AB9F2A

#AB9F2A is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.2% C 0.132 H 103.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#AB9F2A
RGBrgb(171, 159, 42)
HSLhsl(54, 61%, 42%)
HSVhsv(54, 75%, 67%)
CMYKcmyk(0%, 7%, 75.4%, 32.9%)
CIE-LABlab(64.66, -8.72, 58.50)
CIE-LCHlch(64.66, 59.14, 98.48°)
OKLaboklab(69.24% -0.0303 0.1284)
OKLCHoklch(69.24% 0.132 103.3)
XYZxyz(29.6120, 33.6226, 7.1201)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9F2A #2A36AB
analogous
#AB5F2A #AB9F2A #76AB2A
triadic
#AB9F2A #2AAB9F #9F2AAB
tetradic
#AB9F2A #2AAB5F #2A36AB #AB2A76
square
#AB9F2A #2AAB5F #2A36AB #AB2A76
split-complementary
#AB9F2A #2A76AB #5F2AAB
monochromatic
#494412 #7A711E #AB9F2A #D1C342 #DDD373

Accessibility & contrast

On white

2.72
#AB9F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#AB9F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9F2A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9F2A#FFFFFF#000000##000000
##AB9F2A1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#B29F33
Tritanopia (blue-blind)
#B89489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9f2a;
/* rgb */ color: rgb(171, 159, 42);
/* oklch */ color: oklch(69.2% 0.132 103.3);
Tailwind
colors: {
  custom: {
    50: '#c8bb6d',
    500: '#ab9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab9f2a;
$custom-light: #c8bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9f2a",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 54.419,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69238,
    "c": 0.13197,
    "h": 103.3
  },
  "luminance": 0.33621
}

Semantic roles & 50–950 ramp

primary
#AB9F2A
secondary
#6D75C4
accent
#53E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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