#97863B#97863B

#97863B is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.097 H 96.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#97863B
RGBrgb(151, 134, 59)
HSLhsl(49, 44%, 41%)
HSVhsv(49, 61%, 59%)
CMYKcmyk(0%, 11.3%, 60.9%, 40.8%)
CIE-LABlab(56.03, -3.13, 41.86)
CIE-LCHlch(56.03, 41.98, 94.28°)
OKLaboklab(61.99% -0.0113 0.0967)
OKLCHoklch(61.99% 0.097 96.6)
XYZxyz(22.0779, 23.9463, 7.5960)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97863B #3B4C97
analogous
#97583B #97863B #7A973B
triadic
#97863B #3B9786 #863B97
tetradic
#97863B #3B9758 #3B4C97 #973B7A
square
#97863B #3B9758 #3B4C97 #973B7A
split-complementary
#97863B #3B7A97 #583B97
monochromatic
#3F3819 #6B5F2A #97863B #BCA953 #CDBF7F

Accessibility & contrast

On white

3.63
#97863B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#97863B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97863B
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97863B#FFFFFF#000000##000000
##97863B1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928333
Deuteranopia (green-blind)
#97893F
Tritanopia (blue-blind)
#A27D76
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #97863b;
/* rgb */ color: rgb(151, 134, 59);
/* oklch */ color: oklch(62.0% 0.097 96.6);
Tailwind
colors: {
  custom: {
    50: '#b8a974',
    500: '#97863b',
    950: '#000000',
  },
}
SCSS
$custom: #97863b;
$custom-light: #b8a974;
$custom-dark: #000000;
JSON
{
  "hex": "#97863b",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 59
  },
  "hsl": {
    "h": 48.913,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61994,
    "c": 0.09738,
    "h": 96.6
  },
  "luminance": 0.23945
}

Semantic roles & 50–950 ramp

primary
#97863B
secondary
#7783B7
accent
#6CD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #97863B

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

Preview Lab → · Contrast checker → · Palette generator →

#97863B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva