#97872E#97872E

#97872E is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.109 H 98.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#97872E
RGBrgb(151, 135, 46)
HSLhsl(51, 53%, 39%)
HSVhsv(51, 70%, 59%)
CMYKcmyk(0%, 10.6%, 69.5%, 40.8%)
CIE-LABlab(56.19, -4.55, 48.02)
CIE-LCHlch(56.19, 48.23, 95.42°)
OKLaboklab(62.08% -0.0169 0.1078)
OKLCHoklch(62.08% 0.109 98.9)
XYZxyz(21.9206, 24.1055, 6.0824)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97872E #2E3E97
analogous
#97522E #97872E #72972E
triadic
#97872E #2E9787 #872E97
tetradic
#97872E #2E9752 #2E3E97 #972E72
square
#97872E #2E9752 #2E3E97 #972E72
split-complementary
#97872E #2E7297 #522E97
monochromatic
#393311 #685D20 #97872E #C4B03E #D2C36D

Accessibility & contrast

On white

3.61
#97872E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#97872E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97872E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97872E#FFFFFF#000000##000000
##97872E1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#A37D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97872e;
/* rgb */ color: rgb(151, 135, 46);
/* oklch */ color: oklch(62.1% 0.109 98.9);
Tailwind
colors: {
  custom: {
    50: '#b9a96c',
    500: '#97872e',
    950: '#000000',
  },
}
SCSS
$custom: #97872e;
$custom-light: #b9a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#97872e",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 50.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.10908,
    "h": 98.9
  },
  "luminance": 0.24105
}

Semantic roles & 50–950 ramp

primary
#97872E
secondary
#6774BA
accent
#61DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97872E

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

Preview Lab → · Contrast checker → · Palette generator →

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