#AB8E2E#AB8E2E

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

Color values

HEX#AB8E2E
RGBrgb(171, 142, 46)
HSLhsl(46, 58%, 43%)
HSVhsv(46, 73%, 67%)
CMYKcmyk(0%, 17%, 73.1%, 32.9%)
CIE-LABlab(60.07, 0.64, 52.56)
CIE-LCHlch(60.07, 52.57, 89.31°)
OKLaboklab(65.61% -0.0033 0.1166)
OKLCHoklch(65.61% 0.117 91.6)
XYZxyz(26.9622, 28.2028, 6.6078)
Luminance0.2820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8E2E #2E4BAB
analogous
#AB4F2E #AB8E2E #8AAB2E
triadic
#AB8E2E #2EAB8E #8E2EAB
tetradic
#AB8E2E #2EAB4F #2E4BAB #AB2E8A
square
#AB8E2E #2EAB4F #2E4BAB #AB2E8A
split-complementary
#AB8E2E #2E8AAB #4F2EAB
monochromatic
#4B3E14 #7B6621 #AB8E2E #CEAF48 #DBC479

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8E2E#FFFFFF#000000##000000
##AB8E2E1.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)
#9E8C20
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#B9827B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8e2e;
/* rgb */ color: rgb(171, 142, 46);
/* oklch */ color: oklch(65.6% 0.117 91.6);
Tailwind
colors: {
  custom: {
    50: '#c8ae6d',
    500: '#ab8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab8e2e;
$custom-light: #c8ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8e2e",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 46.08,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65609,
    "c": 0.11668,
    "h": 91.6
  },
  "luminance": 0.28201
}

Semantic roles & 50–950 ramp

primary
#AB8E2E
secondary
#7285C3
accent
#6BE147
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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