#AB9E2A#AB9E2A

#AB9E2A is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.0% C 0.131 H 102.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AB9E2A
RGBrgb(171, 158, 42)
HSLhsl(54, 61%, 42%)
HSVhsv(54, 75%, 67%)
CMYKcmyk(0%, 7.6%, 75.4%, 32.9%)
CIE-LABlab(64.39, -8.19, 58.24)
CIE-LCHlch(64.39, 58.81, 98.01°)
OKLaboklab(69.02% -0.0288 0.1279)
OKLCHoklch(69.02% 0.131 102.7)
XYZxyz(29.4407, 33.2801, 7.0630)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E2A #2A37AB
analogous
#AB5D2A #AB9E2A #78AB2A
triadic
#AB9E2A #2AAB9E #9E2AAB
tetradic
#AB9E2A #2AAB5D #2A37AB #AB2A78
square
#AB9E2A #2AAB5D #2A37AB #AB2A78
split-complementary
#AB9E2A #2A78AB #5D2AAB
monochromatic
#494312 #7A711E #AB9E2A #D1C242 #DDD273

Accessibility & contrast

On white

2.74
#AB9E2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AB9E2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E2A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E2A#FFFFFF#000000##000000
##AB9E2A1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9913
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e2a;
/* rgb */ color: rgb(171, 158, 42);
/* oklch */ color: oklch(69.0% 0.131 102.7);
Tailwind
colors: {
  custom: {
    50: '#c8ba6d',
    500: '#ab9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e2a;
$custom-light: #c8ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e2a",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 53.953,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6902,
    "c": 0.1311,
    "h": 102.7
  },
  "luminance": 0.33279
}

Semantic roles & 50–950 ramp

primary
#AB9E2A
secondary
#6D76C4
accent
#54E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AB9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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