#97861E#97861E

#97861E is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.118 H 99.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#97861E
RGBrgb(151, 134, 30)
HSLhsl(52, 67%, 35%)
HSVhsv(52, 80%, 59%)
CMYKcmyk(0%, 11.3%, 80.1%, 40.8%)
CIE-LABlab(55.81, -4.77, 53.79)
CIE-LCHlch(55.81, 54.00, 95.07°)
OKLaboklab(61.75% -0.0193 0.1169)
OKLCHoklch(61.75% 0.118 99.4)
XYZxyz(21.5230, 23.7243, 4.6736)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97861E #1E2F97
analogous
#97491E #97861E #6B971E
triadic
#97861E #1E9786 #861E97
tetradic
#97861E #1E9749 #1E2F97 #971E6B
square
#97861E #1E9749 #1E2F97 #971E6B
split-complementary
#97861E #1E6B97 #491E97
monochromatic
#312B0A #645914 #97861E #CAB328 #DDC953

Accessibility & contrast

On white

3.66
#97861E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#97861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97861E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97861E#FFFFFF#000000##000000
##97861E1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A37B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #97861e;
/* rgb */ color: rgb(151, 134, 30);
/* oklch */ color: oklch(61.7% 0.118 99.4);
Tailwind
colors: {
  custom: {
    50: '#b9a864',
    500: '#97861e',
    950: '#000000',
  },
}
SCSS
$custom: #97861e;
$custom-light: #b9a864;
$custom-dark: #000000;
JSON
{
  "hex": "#97861e",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 51.57,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61745,
    "c": 0.11844,
    "h": 99.4
  },
  "luminance": 0.23723
}

Semantic roles & 50–950 ramp

primary
#97861E
secondary
#5160C0
accent
#56EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97861E

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

Preview Lab → · Contrast checker → · Palette generator →

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