#AB9D46#AB9D46

#AB9D46 is a light, moderate yellow. Relative luminance 0.332; OKLCH L 69.0% C 0.109 H 100.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AB9D46
RGBrgb(171, 157, 70)
HSLhsl(52, 42%, 47%)
HSVhsv(52, 59%, 67%)
CMYKcmyk(0%, 8.2%, 59.1%, 32.9%)
CIE-LABlab(64.33, -6.00, 46.43)
CIE-LCHlch(64.33, 46.81, 97.36°)
OKLaboklab(69.05% -0.0194 0.1075)
OKLCHoklch(69.05% 0.109 100.3)
XYZxyz(29.9582, 33.2153, 10.6263)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D46 #4654AB
analogous
#AB6A46 #AB9D46 #87AB46
triadic
#AB9D46 #46AB9D #9D46AB
tetradic
#AB9D46 #46AB6A #4654AB #AB4687
square
#AB9D46 #46AB6A #4654AB #AB4687
split-complementary
#AB9D46 #4687AB #6A46AB
monochromatic
#544D22 #807534 #AB9D46 #C3B76C #D4CC97

Accessibility & contrast

On white

2.75
#AB9D46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AB9D46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D46
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D46#FFFFFF#000000##000000
##AB9D461.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA993D
Deuteranopia (green-blind)
#AE9E4A
Tritanopia (blue-blind)
#B7938A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9d46;
/* rgb */ color: rgb(171, 157, 70);
/* oklch */ color: oklch(69.0% 0.109 100.3);
Tailwind
colors: {
  custom: {
    50: '#c6b97d',
    500: '#ab9d46',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d46;
$custom-light: #c6b97d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d46",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 70
  },
  "hsl": {
    "h": 51.683,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69049,
    "c": 0.10921,
    "h": 100.3
  },
  "luminance": 0.33214
}

Semantic roles & 50–950 ramp

primary
#AB9D46
secondary
#8C94C0
accent
#67D256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AB9D46

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

Preview Lab → · Contrast checker → · Palette generator →

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