#AB9D48#AB9D48

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

Color values

HEX#AB9D48
RGBrgb(171, 157, 72)
HSLhsl(52, 41%, 48%)
HSVhsv(52, 58%, 67%)
CMYKcmyk(0%, 8.2%, 57.9%, 32.9%)
CIE-LABlab(64.36, -5.84, 45.50)
CIE-LCHlch(64.36, 45.87, 97.32°)
OKLaboklab(69.07% -0.0188 0.1057)
OKLCHoklch(69.07% 0.107 100.1)
XYZxyz(30.0223, 33.2409, 10.9644)
Luminance0.3324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D48 #4856AB
analogous
#AB6B48 #AB9D48 #88AB48
triadic
#AB9D48 #48AB9D #9D48AB
tetradic
#AB9D48 #48AB6B #4856AB #AB4888
square
#AB9D48 #48AB6B #4856AB #AB4888
split-complementary
#AB9D48 #4888AB #6B48AB
monochromatic
#554E24 #807536 #AB9D48 #C2B66E #D4CC99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB9D48#FFFFFF#000000##000000
##AB9D481.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)
#AA993F
Deuteranopia (green-blind)
#AE9E4C
Tritanopia (blue-blind)
#B7938A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9d48;
/* rgb */ color: rgb(171, 157, 72);
/* oklch */ color: oklch(69.1% 0.107 100.1);
Tailwind
colors: {
  custom: {
    50: '#c6b97e',
    500: '#ab9d48',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d48;
$custom-light: #c6b97e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d48",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 72
  },
  "hsl": {
    "h": 51.515,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69072,
    "c": 0.10736,
    "h": 100.1
  },
  "luminance": 0.3324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB9D48

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

Preview Lab → · Contrast checker → · Palette generator →

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