#97882D#97882D

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

Color values

HEX#97882D
RGBrgb(151, 136, 45)
HSLhsl(52, 54%, 38%)
HSVhsv(52, 70%, 59%)
CMYKcmyk(0%, 9.9%, 70.2%, 40.8%)
CIE-LABlab(56.46, -5.16, 48.72)
CIE-LCHlch(56.46, 48.99, 96.05°)
OKLaboklab(62.29% -0.0188 0.1091)
OKLCHoklch(62.29% 0.111 99.8)
XYZxyz(22.0413, 24.3781, 6.0266)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97882D #2D3C97
analogous
#97532D #97882D #71972D
triadic
#97882D #2D9788 #882D97
tetradic
#97882D #2D9753 #2D3C97 #972D71
square
#97882D #2D9753 #2D3C97 #972D71
split-complementary
#97882D #2D7197 #532D97
monochromatic
#393311 #685E1F #97882D #C5B23C #D3C46B

Accessibility & contrast

On white

3.57
#97882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#97882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97882D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97882D#FFFFFF#000000##000000
##97882D1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#A37E76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97882d;
/* rgb */ color: rgb(151, 136, 45);
/* oklch */ color: oklch(62.3% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#b9aa6b',
    500: '#97882d',
    950: '#000000',
  },
}
SCSS
$custom: #97882d;
$custom-light: #b9aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97882d",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 51.509,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62294,
    "c": 0.11066,
    "h": 99.8
  },
  "luminance": 0.24377
}

Semantic roles & 50–950 ramp

primary
#97882D
secondary
#6672BA
accent
#5FDD4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #97882D

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

Preview Lab → · Contrast checker → · Palette generator →

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