#97862B#97862B

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

Color values

HEX#97862B
RGBrgb(151, 134, 43)
HSLhsl(51, 56%, 38%)
HSVhsv(51, 72%, 59%)
CMYKcmyk(0%, 11.3%, 71.5%, 40.8%)
CIE-LABlab(55.89, -4.17, 48.98)
CIE-LCHlch(55.89, 49.16, 94.87°)
OKLaboklab(61.84% -0.0162 0.1093)
OKLCHoklch(61.84% 0.11 98.4)
XYZxyz(21.7247, 23.8050, 5.7355)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97862B #2B3C97
analogous
#97502B #97862B #72972B
triadic
#97862B #2B9786 #862B97
tetradic
#97862B #2B9750 #2B3C97 #972B72
square
#97862B #2B9750 #2B3C97 #972B72
split-complementary
#97862B #2B7297 #502B97
monochromatic
#383110 #675C1D #97862B #C7B039 #D4C368

Accessibility & contrast

On white

3.65
#97862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97862B#FFFFFF#000000##000000
##97862B1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97862b;
/* rgb */ color: rgb(151, 134, 43);
/* oklch */ color: oklch(61.8% 0.110 98.4);
Tailwind
colors: {
  custom: {
    50: '#b9a86a',
    500: '#97862b',
    950: '#000000',
  },
}
SCSS
$custom: #97862b;
$custom-light: #b9a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#97862b",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 50.556,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.11044,
    "h": 98.4
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#97862B
secondary
#6371BB
accent
#60DF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97862B

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

Preview Lab → · Contrast checker → · Palette generator →

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