#AB8D2C#AB8D2C

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

Color values

HEX#AB8D2C
RGBrgb(171, 141, 44)
HSLhsl(46, 59%, 42%)
HSVhsv(46, 74%, 67%)
CMYKcmyk(0%, 17.5%, 74.3%, 32.9%)
CIE-LABlab(59.79, 1.09, 53.09)
CIE-LCHlch(59.79, 53.10, 88.83°)
OKLaboklab(65.38% -0.0023 0.1174)
OKLCHoklch(65.38% 0.117 91.1)
XYZxyz(26.7756, 27.8912, 6.3556)
Luminance0.2789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D2C #2C4AAB
analogous
#AB4E2C #AB8D2C #8AAB2C
triadic
#AB8D2C #2CAB8D #8D2CAB
tetradic
#AB8D2C #2CAB4E #2C4AAB #AB2C8A
square
#AB8D2C #2CAB4E #2C4AAB #AB2C8A
split-complementary
#AB8D2C #2C8AAB #4E2CAB
monochromatic
#4A3D13 #7A651F #AB8D2C #CFAF45 #DCC476

Accessibility & contrast

On white

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

On black

6.58
#AB8D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8D2C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8D2C#FFFFFF#000000##000000
##AB8D2C1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab8d2c;
/* rgb */ color: rgb(171, 141, 44);
/* oklch */ color: oklch(65.4% 0.117 91.1);
Tailwind
colors: {
  custom: {
    50: '#c8ae6c',
    500: '#ab8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d2c;
$custom-light: #c8ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d2c",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 45.827,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65383,
    "c": 0.11737,
    "h": 91.1
  },
  "luminance": 0.2789
}

Semantic roles & 50–950 ramp

primary
#AB8D2C
secondary
#6F83C3
accent
#6BE246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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