#AB985D#AB985D

#AB985D is a light, moderate yellow. Relative luminance 0.319; OKLCH L 68.3% C 0.081 H 92.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AB985D
RGBrgb(171, 152, 93)
HSLhsl(45, 32%, 52%)
HSVhsv(45, 46%, 67%)
CMYKcmyk(0%, 11.1%, 45.6%, 32.9%)
CIE-LABlab(63.27, -1.23, 33.53)
CIE-LCHlch(63.27, 33.55, 92.10°)
OKLaboklab(68.29% -0.0031 0.0813)
OKLCHoklch(68.29% 0.081 92.2)
XYZxyz(29.9995, 31.9059, 14.9320)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB985D #5D70AB
analogous
#AB715D #AB985D #97AB5D
triadic
#AB985D #5DAB98 #985DAB
tetradic
#AB985D #5DAB71 #5D70AB #AB5D97
square
#AB985D #5DAB71 #5D70AB #AB5D97
split-complementary
#AB985D #5D97AB #715DAB
monochromatic
#5D5230 #867645 #AB985D #C0B285 #D5CBAE

Accessibility & contrast

On white

2.85
#AB985D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#AB985D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB985D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB985D#FFFFFF#000000##000000
##AB985D1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49658
Deuteranopia (green-blind)
#A99C5F
Tritanopia (blue-blind)
#B68F8A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab985d;
/* rgb */ color: rgb(171, 152, 93);
/* oklch */ color: oklch(68.3% 0.081 92.2);
Tailwind
colors: {
  custom: {
    50: '#c5b68c',
    500: '#ab985d',
    950: '#000000',
  },
}
SCSS
$custom: #ab985d;
$custom-light: #c5b68c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab985d",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 45.385,
    "s": 31.707,
    "l": 51.765
  },
  "oklch": {
    "l": 0.68295,
    "c": 0.08132,
    "h": 92.2
  },
  "luminance": 0.31905
}

Semantic roles & 50–950 ramp

primary
#AB985D
secondary
#A1A9C3
accent
#79C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AB985D

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

Preview Lab → · Contrast checker → · Palette generator →

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