#97862E#97862E

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

Color values

HEX#97862E
RGBrgb(151, 134, 46)
HSLhsl(50, 53%, 39%)
HSVhsv(50, 70%, 59%)
CMYKcmyk(0%, 11.3%, 69.5%, 40.8%)
CIE-LABlab(55.91, -4.00, 47.73)
CIE-LCHlch(55.91, 47.90, 94.79°)
OKLaboklab(61.86% -0.0154 0.1072)
OKLCHoklch(61.86% 0.108 98.2)
XYZxyz(21.7817, 23.8278, 6.0361)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97862E #2E3F97
analogous
#97512E #97862E #73972E
triadic
#97862E #2E9786 #862E97
tetradic
#97862E #2E9751 #2E3F97 #972E73
square
#97862E #2E9751 #2E3F97 #972E73
split-complementary
#97862E #2E7397 #512E97
monochromatic
#393311 #685C20 #97862E #C4AE3E #D2C26D

Accessibility & contrast

On white

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

On black

5.77
#97862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97862E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97862E#FFFFFF#000000##000000
##97862E1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938322
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#A37C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #97862e;
/* rgb */ color: rgb(151, 134, 46);
/* oklch */ color: oklch(61.9% 0.108 98.2);
Tailwind
colors: {
  custom: {
    50: '#b9a86c',
    500: '#97862e',
    950: '#000000',
  },
}
SCSS
$custom: #97862e;
$custom-light: #b9a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#97862e",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 50.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61861,
    "c": 0.10826,
    "h": 98.2
  },
  "luminance": 0.23827
}

Semantic roles & 50–950 ramp

primary
#97862E
secondary
#6774BA
accent
#63DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97862E

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

Preview Lab → · Contrast checker → · Palette generator →

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