#97882B#97882B

#97882B is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.112 H 99.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#97882B
RGBrgb(151, 136, 43)
HSLhsl(52, 56%, 38%)
HSVhsv(52, 72%, 59%)
CMYKcmyk(0%, 9.9%, 71.5%, 40.8%)
CIE-LABlab(56.45, -5.27, 49.54)
CIE-LCHlch(56.45, 49.82, 96.07°)
OKLaboklab(62.28% -0.0193 0.1104)
OKLCHoklch(62.28% 0.112 99.9)
XYZxyz(22.0037, 24.3631, 5.8286)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97882B #2B3A97
analogous
#97522B #97882B #70972B
triadic
#97882B #2B9788 #882B97
tetradic
#97882B #2B9752 #2B3A97 #972B70
square
#97882B #2B9752 #2B3A97 #972B70
split-complementary
#97882B #2B7097 #522B97
monochromatic
#383210 #675D1D #97882B #C7B339 #D4C568

Accessibility & contrast

On white

3.58
#97882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#97882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97882B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97882B#FFFFFF#000000##000000
##97882B1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841D
Deuteranopia (green-blind)
#998A31
Tritanopia (blue-blind)
#A37E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97882b;
/* rgb */ color: rgb(151, 136, 43);
/* oklch */ color: oklch(62.3% 0.112 99.9);
Tailwind
colors: {
  custom: {
    50: '#b9aa6a',
    500: '#97882b',
    950: '#000000',
  },
}
SCSS
$custom: #97882b;
$custom-light: #b9aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97882b",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 51.667,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62278,
    "c": 0.11211,
    "h": 99.9
  },
  "luminance": 0.24362
}

Semantic roles & 50–950 ramp

primary
#97882B
secondary
#636FBB
accent
#5EDF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #97882B

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

Preview Lab → · Contrast checker → · Palette generator →

#97882B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva