#AB9D47#AB9D47

#AB9D47 is a light, moderate yellow. Relative luminance 0.332; OKLCH L 69.1% C 0.108 H 100.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AB9D47
RGBrgb(171, 157, 71)
HSLhsl(52, 41%, 47%)
HSVhsv(52, 58%, 67%)
CMYKcmyk(0%, 8.2%, 58.5%, 32.9%)
CIE-LABlab(64.35, -5.92, 45.96)
CIE-LCHlch(64.35, 46.34, 97.34°)
OKLaboklab(69.06% -0.0191 0.1066)
OKLCHoklch(69.06% 0.108 100.2)
XYZxyz(29.9900, 33.2280, 10.7939)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D47 #4755AB
analogous
#AB6B47 #AB9D47 #87AB47
triadic
#AB9D47 #47AB9D #9D47AB
tetradic
#AB9D47 #47AB6B #4755AB #AB4787
square
#AB9D47 #47AB6B #4755AB #AB4787
split-complementary
#AB9D47 #4787AB #6B47AB
monochromatic
#554E23 #807535 #AB9D47 #C2B66D #D4CC98

Accessibility & contrast

On white

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

On black

7.65
#AB9D47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D47
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D47#FFFFFF#000000##000000
##AB9D471.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab9d47;
/* rgb */ color: rgb(171, 157, 71);
/* oklch */ color: oklch(69.1% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#c6b97d',
    500: '#ab9d47',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d47;
$custom-light: #c6b97d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d47",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 71
  },
  "hsl": {
    "h": 51.6,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69061,
    "c": 0.10829,
    "h": 100.2
  },
  "luminance": 0.33227
}

Semantic roles & 50–950 ramp

primary
#AB9D47
secondary
#8D95C0
accent
#68D157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AB9D47

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

Preview Lab → · Contrast checker → · Palette generator →

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