#AB9D4E#AB9D4E

#AB9D4E is a light, moderate yellow. Relative luminance 0.333; OKLCH L 69.1% C 0.102 H 99.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AB9D4E
RGBrgb(171, 157, 78)
HSLhsl(51, 37%, 49%)
HSVhsv(51, 54%, 67%)
CMYKcmyk(0%, 8.2%, 54.4%, 32.9%)
CIE-LABlab(64.42, -5.35, 42.65)
CIE-LCHlch(64.42, 42.98, 97.16°)
OKLaboklab(69.15% -0.0167 0.1002)
OKLCHoklch(69.15% 0.102 99.4)
XYZxyz(30.2277, 33.3231, 12.0460)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D4E #4E5CAB
analogous
#AB6F4E #AB9D4E #8BAB4E
triadic
#AB9D4E #4EAB9D #9D4EAB
tetradic
#AB9D4E #4EAB6F #4E5CAB #AB4E8B
square
#AB9D4E #4EAB6F #4E5CAB #AB4E8B
split-complementary
#AB9D4E #4E8BAB #6F4EAB
monochromatic
#575028 #81763B #AB9D4E #C0B576 #D4CCA0

Accessibility & contrast

On white

2.74
#AB9D4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AB9D4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D4E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D4E#FFFFFF#000000##000000
##AB9D4E1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9947
Deuteranopia (green-blind)
#AE9F52
Tritanopia (blue-blind)
#B7938B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9d4e;
/* rgb */ color: rgb(171, 157, 78);
/* oklch */ color: oklch(69.1% 0.102 99.4);
Tailwind
colors: {
  custom: {
    50: '#c6b982',
    500: '#ab9d4e',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d4e;
$custom-light: #c6b982;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d4e",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 78
  },
  "hsl": {
    "h": 50.968,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69146,
    "c": 0.1016,
    "h": 99.4
  },
  "luminance": 0.33322
}

Semantic roles & 50–950 ramp

primary
#AB9D4E
secondary
#949BC1
accent
#6CCD5A
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AB9D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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