#AB8E2D#AB8E2D

#AB8E2D is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.6% C 0.117 H 91.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB8E2D
RGBrgb(171, 142, 45)
HSLhsl(46, 58%, 42%)
HSVhsv(46, 74%, 67%)
CMYKcmyk(0%, 17%, 73.7%, 32.9%)
CIE-LABlab(60.06, 0.59, 52.96)
CIE-LCHlch(60.06, 52.96, 89.36°)
OKLaboklab(65.6% -0.0036 0.1173)
OKLCHoklch(65.6% 0.117 91.7)
XYZxyz(26.9427, 28.1950, 6.5052)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8E2D #2D4AAB
analogous
#AB4F2D #AB8E2D #89AB2D
triadic
#AB8E2D #2DAB8E #8E2DAB
tetradic
#AB8E2D #2DAB4F #2D4AAB #AB2D89
square
#AB8E2D #2DAB4F #2D4AAB #AB2D89
split-complementary
#AB8E2D #2D89AB #4F2DAB
monochromatic
#4A3E14 #7B6620 #AB8E2D #CEAF47 #DBC477

Accessibility & contrast

On white

3.16
#AB8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AB8E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8E2D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8E2D#FFFFFF#000000##000000
##AB8E2D1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1E
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#B9827B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8e2d;
/* rgb */ color: rgb(171, 142, 45);
/* oklch */ color: oklch(65.6% 0.117 91.7);
Tailwind
colors: {
  custom: {
    50: '#c8ae6c',
    500: '#ab8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #ab8e2d;
$custom-light: #c8ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8e2d",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 46.19,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65602,
    "c": 0.11732,
    "h": 91.7
  },
  "luminance": 0.28193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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