#AB8D2E#AB8D2E

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

Color values

HEX#AB8D2E
RGBrgb(171, 141, 46)
HSLhsl(46, 58%, 43%)
HSVhsv(46, 73%, 67%)
CMYKcmyk(0%, 17.5%, 73.1%, 32.9%)
CIE-LABlab(59.80, 1.19, 52.30)
CIE-LCHlch(59.80, 52.31, 88.70°)
OKLaboklab(65.4% -0.0017 0.1161)
OKLCHoklch(65.4% 0.116 90.9)
XYZxyz(26.8141, 27.9066, 6.5584)
Luminance0.2791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8D2E #2E4CAB
analogous
#AB4E2E #AB8D2E #8BAB2E
triadic
#AB8D2E #2EAB8D #8D2EAB
tetradic
#AB8D2E #2EAB4E #2E4CAB #AB2E8B
square
#AB8D2E #2EAB4E #2E4CAB #AB2E8B
split-complementary
#AB8D2E #2E8BAB #4E2EAB
monochromatic
#4B3D14 #7B6521 #AB8D2E #CEAE48 #DBC379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8D2E#FFFFFF#000000##000000
##AB8D2E1.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)
#9D8B20
Deuteranopia (green-blind)
#A49433
Tritanopia (blue-blind)
#B9817A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab8d2e;
/* rgb */ color: rgb(171, 141, 46);
/* oklch */ color: oklch(65.4% 0.116 90.9);
Tailwind
colors: {
  custom: {
    50: '#c8ae6d',
    500: '#ab8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #ab8d2e;
$custom-light: #c8ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8d2e",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 45.6,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65399,
    "c": 0.11608,
    "h": 90.9
  },
  "luminance": 0.27905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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