#AB8E2A#AB8E2A

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

Color values

HEX#AB8E2A
RGBrgb(171, 142, 42)
HSLhsl(47, 61%, 42%)
HSVhsv(47, 75%, 67%)
CMYKcmyk(0%, 17%, 75.4%, 32.9%)
CIE-LABlab(60.04, 0.45, 54.12)
CIE-LCHlch(60.04, 54.12, 89.53°)
OKLaboklab(65.58% -0.0043 0.1191)
OKLCHoklch(65.58% 0.119 92.1)
XYZxyz(26.8870, 28.1727, 6.2117)
Luminance0.2817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8E2A #2A47AB
analogous
#AB4E2A #AB8E2A #87AB2A
triadic
#AB8E2A #2AAB8E #8E2AAB
tetradic
#AB8E2A #2AAB4E #2A47AB #AB2A87
square
#AB8E2A #2AAB4E #2A47AB #AB2A87
split-complementary
#AB8E2A #2A87AB #4E2AAB
monochromatic
#493C12 #7A651E #AB8E2A #D1B042 #DDC573

Accessibility & contrast

On white

3.17
#AB8E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#AB8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8E2A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8E2A#FFFFFF#000000##000000
##AB8E2A1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C19
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#B9827A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8e2a;
/* rgb */ color: rgb(171, 142, 42);
/* oklch */ color: oklch(65.6% 0.119 92.1);
Tailwind
colors: {
  custom: {
    50: '#c8ae6b',
    500: '#ab8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab8e2a;
$custom-light: #c8ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8e2a",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 46.512,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65579,
    "c": 0.11921,
    "h": 92.1
  },
  "luminance": 0.28171
}

Semantic roles & 50–950 ramp

primary
#AB8E2A
secondary
#6D80C4
accent
#68E444
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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