#AB8D2A#AB8D2A

#AB8D2A is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.4% C 0.119 H 91.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB8D2A
RGBrgb(171, 141, 42)
HSLhsl(46, 61%, 42%)
HSVhsv(46, 75%, 67%)
CMYKcmyk(0%, 17.5%, 75.4%, 32.9%)
CIE-LABlab(59.78, 1.00, 53.86)
CIE-LCHlch(59.78, 53.87, 88.94°)
OKLaboklab(65.37% -0.0027 0.1186)
OKLCHoklch(65.37% 0.119 91.3)
XYZxyz(26.7389, 27.8765, 6.1624)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D2A #2A48AB
analogous
#AB4D2A #AB8D2A #88AB2A
triadic
#AB8D2A #2AAB8D #8D2AAB
tetradic
#AB8D2A #2AAB4D #2A48AB #AB2A88
square
#AB8D2A #2AAB4D #2A48AB #AB2A88
split-complementary
#AB8D2A #2A88AB #4D2AAB
monochromatic
#493C12 #7A641E #AB8D2A #D1AF42 #DDC473

Accessibility & contrast

On white

3.19
#AB8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AB8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8D2A
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8D2A#FFFFFF#000000##000000
##AB8D2A1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#A49430
Tritanopia (blue-blind)
#B9817A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab8d2a;
/* rgb */ color: rgb(171, 141, 42);
/* oklch */ color: oklch(65.4% 0.119 91.3);
Tailwind
colors: {
  custom: {
    50: '#c8ae6b',
    500: '#ab8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d2a;
$custom-light: #c8ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d2a",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 46.047,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65368,
    "c": 0.11862,
    "h": 91.3
  },
  "luminance": 0.27875
}

Semantic roles & 50–950 ramp

primary
#AB8D2A
secondary
#6D81C4
accent
#69E444
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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