#97863A#97863A

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

Color values

HEX#97863A
RGBrgb(151, 134, 58)
HSLhsl(49, 44%, 41%)
HSVhsv(49, 62%, 59%)
CMYKcmyk(0%, 11.3%, 61.6%, 40.8%)
CIE-LABlab(56.02, -3.21, 42.34)
CIE-LCHlch(56.02, 42.46, 94.33°)
OKLaboklab(61.98% -0.0116 0.0976)
OKLCHoklch(61.98% 0.098 96.8)
XYZxyz(22.0522, 23.9360, 7.4607)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97863A #3A4B97
analogous
#97573A #97863A #79973A
triadic
#97863A #3A9786 #863A97
tetradic
#97863A #3A9757 #3A4B97 #973A79
square
#97863A #3A9757 #3A4B97 #973A79
split-complementary
#97863A #3A7997 #573A97
monochromatic
#3F3818 #6B5F29 #97863A #BCA952 #CDBF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97863A#FFFFFF#000000##000000
##97863A1.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)
#928332
Deuteranopia (green-blind)
#97893E
Tritanopia (blue-blind)
#A27D75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #97863a;
/* rgb */ color: rgb(151, 134, 58);
/* oklch */ color: oklch(62.0% 0.098 96.8);
Tailwind
colors: {
  custom: {
    50: '#b8a973',
    500: '#97863a',
    950: '#000000',
  },
}
SCSS
$custom: #97863a;
$custom-light: #b8a973;
$custom-dark: #000000;
JSON
{
  "hex": "#97863a",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 58
  },
  "hsl": {
    "h": 49.032,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.0983,
    "h": 96.8
  },
  "luminance": 0.23935
}

Semantic roles & 50–950 ramp

primary
#97863A
secondary
#7682B7
accent
#6BD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #97863A

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

Preview Lab → · Contrast checker → · Palette generator →

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