#97873D#97873D

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

Color values

HEX#97873D
RGBrgb(151, 135, 61)
HSLhsl(49, 42%, 42%)
HSVhsv(49, 60%, 59%)
CMYKcmyk(0%, 10.6%, 59.6%, 40.8%)
CIE-LABlab(56.33, -3.53, 41.22)
CIE-LCHlch(56.33, 41.37, 94.90°)
OKLaboklab(62.24% -0.0122 0.0956)
OKLCHoklch(62.24% 0.096 97.3)
XYZxyz(22.2697, 24.2452, 7.9207)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97873D #3D4D97
analogous
#975A3D #97873D #7A973D
triadic
#97873D #3D9787 #873D97
tetradic
#97873D #3D975A #3D4D97 #973D7A
square
#97873D #3D975A #3D4D97 #973D7A
split-complementary
#97873D #3D7A97 #5A3D97
monochromatic
#40391A #6B602B #97873D #BBA956 #CCBF82

Accessibility & contrast

On white

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

On black

5.85
#97873D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97873D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97873D#FFFFFF#000000##000000
##97873D1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938435
Deuteranopia (green-blind)
#978940
Tritanopia (blue-blind)
#A27E77
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97873d;
/* rgb */ color: rgb(151, 135, 61);
/* oklch */ color: oklch(62.2% 0.096 97.3);
Tailwind
colors: {
  custom: {
    50: '#b8a975',
    500: '#97873d',
    950: '#000000',
  },
}
SCSS
$custom: #97873d;
$custom-light: #b8a975;
$custom-dark: #000000;
JSON
{
  "hex": "#97873d",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 49.333,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.09638,
    "h": 97.3
  },
  "luminance": 0.24244
}

Semantic roles & 50–950 ramp

primary
#97873D
secondary
#7984B7
accent
#6CD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #97873D

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

Preview Lab → · Contrast checker → · Palette generator →

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