#97861D#97861D

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

Color values

HEX#97861D
RGBrgb(151, 134, 29)
HSLhsl(52, 68%, 35%)
HSVhsv(52, 81%, 59%)
CMYKcmyk(0%, 11.3%, 80.8%, 40.8%)
CIE-LABlab(55.81, -4.81, 54.11)
CIE-LCHlch(55.81, 54.32, 95.08°)
OKLaboklab(61.74% -0.0195 0.1174)
OKLCHoklch(61.74% 0.119 99.4)
XYZxyz(21.5105, 23.7193, 4.6074)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97861D #1D2E97
analogous
#97491D #97861D #6B971D
triadic
#97861D #1D9786 #861D97
tetradic
#97861D #1D9749 #1D2E97 #971D6B
square
#97861D #1D9749 #1D2E97 #971D6B
split-complementary
#97861D #1D6B97 #491D97
monochromatic
#302B09 #645813 #97861D #CAB427 #DECA51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97861D#FFFFFF#000000##000000
##97861D1.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)
#948201
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A37B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #97861d;
/* rgb */ color: rgb(151, 134, 29);
/* oklch */ color: oklch(61.7% 0.119 99.4);
Tailwind
colors: {
  custom: {
    50: '#b9a863',
    500: '#97861d',
    950: '#000000',
  },
}
SCSS
$custom: #97861d;
$custom-light: #b9a863;
$custom-dark: #000000;
JSON
{
  "hex": "#97861d",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 51.639,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.11895,
    "h": 99.4
  },
  "luminance": 0.23718
}

Semantic roles & 50–950 ramp

primary
#97861D
secondary
#4F5FC0
accent
#55EB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97861D

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

Preview Lab → · Contrast checker → · Palette generator →

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