#AB8E2C#AB8E2C

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

Color values

HEX#AB8E2C
RGBrgb(171, 142, 44)
HSLhsl(46, 59%, 42%)
HSVhsv(46, 74%, 67%)
CMYKcmyk(0%, 17%, 74.3%, 32.9%)
CIE-LABlab(60.06, 0.54, 53.35)
CIE-LCHlch(60.06, 53.35, 89.42°)
OKLaboklab(65.59% -0.0038 0.1179)
OKLCHoklch(65.59% 0.118 91.9)
XYZxyz(26.9237, 28.1874, 6.4050)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8E2C #2C49AB
analogous
#AB4E2C #AB8E2C #89AB2C
triadic
#AB8E2C #2CAB8E #8E2CAB
tetradic
#AB8E2C #2CAB4E #2C49AB #AB2C89
square
#AB8E2C #2CAB4E #2C49AB #AB2C89
split-complementary
#AB8E2C #2C89AB #4E2CAB
monochromatic
#4A3D13 #7A661F #AB8E2C #CFB045 #DCC476

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8E2C#FFFFFF#000000##000000
##AB8E2C1.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)
#9E8C1C
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#B9827B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8e2c;
/* rgb */ color: rgb(171, 142, 44);
/* oklch */ color: oklch(65.6% 0.118 91.9);
Tailwind
colors: {
  custom: {
    50: '#c8ae6c',
    500: '#ab8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #ab8e2c;
$custom-light: #c8ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8e2c",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 46.299,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65594,
    "c": 0.11797,
    "h": 91.9
  },
  "luminance": 0.28186
}

Semantic roles & 50–950 ramp

primary
#AB8E2C
secondary
#6F83C3
accent
#69E246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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