#97862C#97862C

#97862C is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.110 H 98.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#97862C
RGBrgb(151, 134, 44)
HSLhsl(50, 55%, 38%)
HSVhsv(50, 71%, 59%)
CMYKcmyk(0%, 11.3%, 70.9%, 40.8%)
CIE-LABlab(55.90, -4.12, 48.57)
CIE-LCHlch(55.90, 48.74, 94.84°)
OKLaboklab(61.84% -0.0159 0.1086)
OKLCHoklch(61.84% 0.11 98.3)
XYZxyz(21.7432, 23.8124, 5.8334)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97862C #2C3D97
analogous
#97502C #97862C #72972C
triadic
#97862C #2C9786 #862C97
tetradic
#97862C #2C9750 #2C3D97 #972C72
square
#97862C #2C9750 #2C3D97 #972C72
split-complementary
#97862C #2C7297 #502C97
monochromatic
#383210 #685C1E #97862C #C6B03A #D4C36A

Accessibility & contrast

On white

3.64
#97862C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#97862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97862C
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97862C#FFFFFF#000000##000000
##97862C1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93831F
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#A37C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #97862c;
/* rgb */ color: rgb(151, 134, 44);
/* oklch */ color: oklch(61.8% 0.110 98.3);
Tailwind
colors: {
  custom: {
    50: '#b9a86b',
    500: '#97862c',
    950: '#000000',
  },
}
SCSS
$custom: #97862c;
$custom-light: #b9a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#97862c",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 50.467,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61844,
    "c": 0.10972,
    "h": 98.3
  },
  "luminance": 0.23811
}

Semantic roles & 50–950 ramp

primary
#97862C
secondary
#6572BA
accent
#61DE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97862C

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

Preview Lab → · Contrast checker → · Palette generator →

#97862C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva