#AB9752#AB9752

#AB9752 is a light, moderate yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.092 H 93.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AB9752
RGBrgb(171, 151, 82)
HSLhsl(47, 35%, 50%)
HSVhsv(47, 52%, 67%)
CMYKcmyk(0%, 11.7%, 52%, 32.9%)
CIE-LABlab(62.85, -1.76, 38.75)
CIE-LCHlch(62.85, 38.79, 92.60°)
OKLaboklab(67.91% -0.0058 0.0921)
OKLCHoklch(67.91% 0.092 93.6)
XYZxyz(29.3852, 31.4016, 12.4943)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9752 #5266AB
analogous
#AB6B52 #AB9752 #93AB52
triadic
#AB9752 #52AB97 #9752AB
tetradic
#AB9752 #52AB6B #5266AB #AB5293
square
#AB9752 #52AB6B #5266AB #AB5293
split-complementary
#AB9752 #5293AB #6B52AB
monochromatic
#584E2A #82723E #AB9752 #C0B07B #D3C9A4

Accessibility & contrast

On white

2.88
#AB9752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AB9752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9752
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9752#FFFFFF#000000##000000
##AB97521.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4944C
Deuteranopia (green-blind)
#A99B55
Tritanopia (blue-blind)
#B78E87
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9752;
/* rgb */ color: rgb(171, 151, 82);
/* oklch */ color: oklch(67.9% 0.092 93.6);
Tailwind
colors: {
  custom: {
    50: '#c6b584',
    500: '#ab9752',
    950: '#000000',
  },
}
SCSS
$custom: #ab9752;
$custom-light: #c6b584;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9752",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 46.517,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.67914,
    "c": 0.09227,
    "h": 93.6
  },
  "luminance": 0.314
}

Semantic roles & 50–950 ramp

primary
#AB9752
secondary
#98A1C1
accent
#75CB5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AB9752

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

Preview Lab → · Contrast checker → · Palette generator →

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