#97861C#97861C

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

Color values

HEX#97861C
RGBrgb(151, 134, 28)
HSLhsl(52, 69%, 35%)
HSVhsv(52, 81%, 59%)
CMYKcmyk(0%, 11.3%, 81.5%, 40.8%)
CIE-LABlab(55.80, -4.84, 54.42)
CIE-LCHlch(55.80, 54.64, 95.08°)
OKLaboklab(61.73% -0.0196 0.1178)
OKLCHoklch(61.73% 0.119 99.5)
XYZxyz(21.4983, 23.7144, 4.5433)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97861C #1C2D97
analogous
#97481C #97861C #6B971C
triadic
#97861C #1C9786 #861C97
tetradic
#97861C #1C9748 #1C2D97 #971C6B
square
#97861C #1C9748 #1C2D97 #971C6B
split-complementary
#97861C #1C6B97 #481C97
monochromatic
#302A09 #635812 #97861C #CBB426 #DECB4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97861C#FFFFFF#000000##000000
##97861C1.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)
#948200
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#A37B72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #97861c;
/* rgb */ color: rgb(151, 134, 28);
/* oklch */ color: oklch(61.7% 0.119 99.5);
Tailwind
colors: {
  custom: {
    50: '#baa863',
    500: '#97861c',
    950: '#000000',
  },
}
SCSS
$custom: #97861c;
$custom-light: #baa863;
$custom-dark: #000000;
JSON
{
  "hex": "#97861c",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 51.707,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.11945,
    "h": 99.5
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

primary
#97861C
secondary
#4E5EC1
accent
#54EC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97861C

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

Preview Lab → · Contrast checker → · Palette generator →

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