#97873A#97873A

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

Color values

HEX#97873A
RGBrgb(151, 135, 58)
HSLhsl(50, 44%, 41%)
HSVhsv(50, 62%, 59%)
CMYKcmyk(0%, 10.6%, 61.6%, 40.8%)
CIE-LABlab(56.30, -3.76, 42.65)
CIE-LCHlch(56.30, 42.81, 95.04°)
OKLaboklab(62.2% -0.0132 0.0983)
OKLCHoklch(62.2% 0.099 97.6)
XYZxyz(22.1911, 24.2137, 7.5070)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97873A #3A4A97
analogous
#97583A #97873A #78973A
triadic
#97873A #3A9787 #873A97
tetradic
#97873A #3A9758 #3A4A97 #973A78
square
#97873A #3A9758 #3A4A97 #973A78
split-complementary
#97873A #3A7897 #583A97
monochromatic
#3F3818 #6B5F29 #97873A #BCAA52 #CDC07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97873A#FFFFFF#000000##000000
##97873A1.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)
#938432
Deuteranopia (green-blind)
#98893E
Tritanopia (blue-blind)
#A27E76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97873a;
/* rgb */ color: rgb(151, 135, 58);
/* oklch */ color: oklch(62.2% 0.099 97.6);
Tailwind
colors: {
  custom: {
    50: '#b8a973',
    500: '#97873a',
    950: '#000000',
  },
}
SCSS
$custom: #97873a;
$custom-light: #b8a973;
$custom-dark: #000000;
JSON
{
  "hex": "#97873a",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 49.677,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62202,
    "c": 0.09915,
    "h": 97.6
  },
  "luminance": 0.24213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97873A

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

Preview Lab → · Contrast checker → · Palette generator →

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