#97873B#97873B

#97873B is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.098 H 97.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#97873B
RGBrgb(151, 135, 59)
HSLhsl(50, 44%, 41%)
HSVhsv(50, 61%, 59%)
CMYKcmyk(0%, 10.6%, 60.9%, 40.8%)
CIE-LABlab(56.31, -3.69, 42.18)
CIE-LCHlch(56.31, 42.34, 95.00°)
OKLaboklab(62.21% -0.0129 0.0974)
OKLCHoklch(62.21% 0.098 97.5)
XYZxyz(22.2168, 24.2240, 7.6423)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97873B #3B4B97
analogous
#97593B #97873B #79973B
triadic
#97873B #3B9787 #873B97
tetradic
#97873B #3B9759 #3B4B97 #973B79
square
#97873B #3B9759 #3B4B97 #973B79
split-complementary
#97873B #3B7997 #593B97
monochromatic
#3F3819 #6B602A #97873B #BCAA53 #CDC07F

Accessibility & contrast

On white

3.59
#97873B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#97873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97873B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97873B#FFFFFF#000000##000000
##97873B1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938433
Deuteranopia (green-blind)
#98893F
Tritanopia (blue-blind)
#A27E76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97873b;
/* rgb */ color: rgb(151, 135, 59);
/* oklch */ color: oklch(62.2% 0.098 97.5);
Tailwind
colors: {
  custom: {
    50: '#b8a974',
    500: '#97873b',
    950: '#000000',
  },
}
SCSS
$custom: #97873b;
$custom-light: #b8a974;
$custom-dark: #000000;
JSON
{
  "hex": "#97873b",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 49.565,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62213,
    "c": 0.09824,
    "h": 97.5
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#97873B
secondary
#7782B7
accent
#6AD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #97873B

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

Preview Lab → · Contrast checker → · Palette generator →

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