#AB985F#AB985F

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

Color values

HEX#AB985F
RGBrgb(171, 152, 95)
HSLhsl(45, 31%, 52%)
HSVhsv(45, 44%, 67%)
CMYKcmyk(0%, 11.1%, 44.4%, 32.9%)
CIE-LABlab(63.29, -1.02, 32.50)
CIE-LCHlch(63.29, 32.52, 91.79°)
OKLaboklab(68.33% -0.0023 0.0791)
OKLCHoklch(68.33% 0.079 91.7)
XYZxyz(30.0892, 31.9418, 15.4047)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB985F #5F72AB
analogous
#AB725F #AB985F #98AB5F
triadic
#AB985F #5FAB98 #985FAB
tetradic
#AB985F #5FAB72 #5F72AB #AB5F98
square
#AB985F #5FAB72 #5F72AB #AB5F98
split-complementary
#AB985F #5F98AB #725FAB
monochromatic
#5E5331 #867647 #AB985F #C0B287 #D5CCAF

Accessibility & contrast

On white

2.84
#AB985F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AB985F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB985F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB985F#FFFFFF#000000##000000
##AB985F1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4965B
Deuteranopia (green-blind)
#A89C61
Tritanopia (blue-blind)
#B6908A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab985f;
/* rgb */ color: rgb(171, 152, 95);
/* oklch */ color: oklch(68.3% 0.079 91.7);
Tailwind
colors: {
  custom: {
    50: '#c5b68d',
    500: '#ab985f',
    950: '#000000',
  },
}
SCSS
$custom: #ab985f;
$custom-light: #c5b68d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab985f",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 45,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.68328,
    "c": 0.07909,
    "h": 91.7
  },
  "luminance": 0.31941
}

Semantic roles & 50–950 ramp

primary
#AB985F
secondary
#A2ABC3
accent
#7AC760
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AB985F

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

Preview Lab → · Contrast checker → · Palette generator →

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