#97862D#97862D

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

Color values

HEX#97862D
RGBrgb(151, 134, 45)
HSLhsl(50, 54%, 38%)
HSVhsv(50, 70%, 59%)
CMYKcmyk(0%, 11.3%, 70.2%, 40.8%)
CIE-LABlab(55.91, -4.06, 48.15)
CIE-LCHlch(55.91, 48.32, 94.82°)
OKLaboklab(61.85% -0.0156 0.1079)
OKLCHoklch(61.85% 0.109 98.2)
XYZxyz(21.7623, 23.8200, 5.9335)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97862D #2D3E97
analogous
#97512D #97862D #73972D
triadic
#97862D #2D9786 #862D97
tetradic
#97862D #2D9751 #2D3E97 #972D73
square
#97862D #2D9751 #2D3E97 #972D73
split-complementary
#97862D #2D7397 #512D97
monochromatic
#393211 #685C1F #97862D #C5AF3C #D3C26B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97862D#FFFFFF#000000##000000
##97862D1.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)
#938321
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#A37C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #97862d;
/* rgb */ color: rgb(151, 134, 45);
/* oklch */ color: oklch(61.9% 0.109 98.2);
Tailwind
colors: {
  custom: {
    50: '#b9a86b',
    500: '#97862d',
    950: '#000000',
  },
}
SCSS
$custom: #97862d;
$custom-light: #b9a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#97862d",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 50.377,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.109,
    "h": 98.2
  },
  "luminance": 0.23819
}

Semantic roles & 50–950 ramp

primary
#97862D
secondary
#6673BA
accent
#62DD4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97862D

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

Preview Lab → · Contrast checker → · Palette generator →

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