#97895D#97895D

#97895D is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.063 H 92.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#97895D
RGBrgb(151, 137, 93)
HSLhsl(46, 24%, 48%)
HSVhsv(46, 38%, 59%)
CMYKcmyk(0%, 9.3%, 38.4%, 40.8%)
CIE-LABlab(57.33, -1.44, 25.53)
CIE-LCHlch(57.33, 25.57, 93.22°)
OKLaboklab(63.17% -0.0027 0.0631)
OKLCHoklch(63.17% 0.063 92.5)
XYZxyz(23.6844, 25.2617, 13.9822)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97895D #5D6B97
analogous
#976C5D #97895D #88975D
triadic
#97895D #5D9789 #895D97
tetradic
#97895D #5D976C #5D6B97 #975D88
square
#97895D #5D976C #5D6B97 #975D88
split-complementary
#97895D #5D8897 #6C5D97
monochromatic
#4B442E #716746 #97895D #B1A580 #C8C0A6

Accessibility & contrast

On white

3.47
#97895D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#97895D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97895D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97895D#FFFFFF#000000##000000
##97895D1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92875A
Deuteranopia (green-blind)
#968B5E
Tritanopia (blue-blind)
#A0827E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #97895d;
/* rgb */ color: rgb(151, 137, 93);
/* oklch */ color: oklch(63.2% 0.063 92.5);
Tailwind
colors: {
  custom: {
    50: '#b6ab8b',
    500: '#97895d',
    950: '#000000',
  },
}
SCSS
$custom: #97895d;
$custom-light: #b6ab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#97895d",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 93
  },
  "hsl": {
    "h": 45.517,
    "s": 23.77,
    "l": 47.843
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.06318,
    "h": 92.5
  },
  "luminance": 0.25261
}

Semantic roles & 50–950 ramp

primary
#97895D
secondary
#99A0B6
accent
#7DC068
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #97895D

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

Preview Lab → · Contrast checker → · Palette generator →

#97895D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva