#AB8D2D#AB8D2D

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

Color values

HEX#AB8D2D
RGBrgb(171, 141, 45)
HSLhsl(46, 58%, 42%)
HSVhsv(46, 74%, 67%)
CMYKcmyk(0%, 17.5%, 73.7%, 32.9%)
CIE-LABlab(59.80, 1.14, 52.70)
CIE-LCHlch(59.80, 52.71, 88.76°)
OKLaboklab(65.39% -0.002 0.1167)
OKLCHoklch(65.39% 0.117 91)
XYZxyz(26.7946, 27.8988, 6.4558)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D2D #2D4BAB
analogous
#AB4E2D #AB8D2D #8AAB2D
triadic
#AB8D2D #2DAB8D #8D2DAB
tetradic
#AB8D2D #2DAB4E #2D4BAB #AB2D8A
square
#AB8D2D #2DAB4E #2D4BAB #AB2D8A
split-complementary
#AB8D2D #2D8AAB #4E2DAB
monochromatic
#4A3D14 #7B6520 #AB8D2D #CEAE47 #DBC377

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8D2D#FFFFFF#000000##000000
##AB8D2D1.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)
#9D8B1E
Deuteranopia (green-blind)
#A49432
Tritanopia (blue-blind)
#B9817A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab8d2d;
/* rgb */ color: rgb(171, 141, 45);
/* oklch */ color: oklch(65.4% 0.117 91.0);
Tailwind
colors: {
  custom: {
    50: '#c8ae6c',
    500: '#ab8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d2d;
$custom-light: #c8ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d2d",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 45.714,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65391,
    "c": 0.11674,
    "h": 91
  },
  "luminance": 0.27897
}

Semantic roles & 50–950 ramp

primary
#AB8D2D
secondary
#7184C3
accent
#6BE246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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