#97873E#97873E

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

Color values

HEX#97873E
RGBrgb(151, 135, 62)
HSLhsl(49, 42%, 42%)
HSVhsv(49, 59%, 59%)
CMYKcmyk(0%, 10.6%, 58.9%, 40.8%)
CIE-LABlab(56.34, -3.45, 40.74)
CIE-LCHlch(56.34, 40.89, 94.85°)
OKLaboklab(62.25% -0.0118 0.0947)
OKLCHoklch(62.25% 0.095 97.1)
XYZxyz(22.2968, 24.2560, 8.0639)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97873E #3E4E97
analogous
#975A3E #97873E #7B973E
triadic
#97873E #3E9787 #873E97
tetradic
#97873E #3E975A #3E4E97 #973E7B
square
#97873E #3E975A #3E4E97 #973E7B
split-complementary
#97873E #3E7B97 #5A3E97
monochromatic
#40391A #6C602C #97873E #BAA958 #CCBF83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97873E#FFFFFF#000000##000000
##97873E1.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)
#938437
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#A27E77
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97873e;
/* rgb */ color: rgb(151, 135, 62);
/* oklch */ color: oklch(62.2% 0.095 97.1);
Tailwind
colors: {
  custom: {
    50: '#b8a976',
    500: '#97873e',
    950: '#000000',
  },
}
SCSS
$custom: #97873e;
$custom-light: #b8a976;
$custom-dark: #000000;
JSON
{
  "hex": "#97873e",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 49.213,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.62249,
    "c": 0.09543,
    "h": 97.1
  },
  "luminance": 0.24255
}

Semantic roles & 50–950 ramp

primary
#97873E
secondary
#7A85B6
accent
#6CD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #97873E

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

Preview Lab → · Contrast checker → · Palette generator →

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