#AB985E#AB985E

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

Color values

HEX#AB985E
RGBrgb(171, 152, 94)
HSLhsl(45, 31%, 52%)
HSVhsv(45, 45%, 67%)
CMYKcmyk(0%, 11.1%, 45%, 32.9%)
CIE-LABlab(63.28, -1.12, 33.01)
CIE-LCHlch(63.28, 33.03, 91.95°)
OKLaboklab(68.31% -0.0027 0.0802)
OKLCHoklch(68.31% 0.08 91.9)
XYZxyz(30.0440, 31.9237, 15.1668)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB985E #5E71AB
analogous
#AB725E #AB985E #98AB5E
triadic
#AB985E #5EAB98 #985EAB
tetradic
#AB985E #5EAB72 #5E71AB #AB5E98
square
#AB985E #5EAB72 #5E71AB #AB5E98
split-complementary
#AB985E #5E98AB #725EAB
monochromatic
#5E5331 #867646 #AB985E #C0B286 #D5CBAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB985E#FFFFFF#000000##000000
##AB985E1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab985e;
/* rgb */ color: rgb(171, 152, 94);
/* oklch */ color: oklch(68.3% 0.080 91.9);
Tailwind
colors: {
  custom: {
    50: '#c5b68c',
    500: '#ab985e',
    950: '#000000',
  },
}
SCSS
$custom: #ab985e;
$custom-light: #c5b68c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab985e",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 45.195,
    "s": 31.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.68311,
    "c": 0.08021,
    "h": 91.9
  },
  "luminance": 0.31923
}

Semantic roles & 50–950 ramp

primary
#AB985E
secondary
#A2AAC3
accent
#7AC860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AB985E

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

Preview Lab → · Contrast checker → · Palette generator →

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