#97881F#97881F

#97881F is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.120 H 100.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#97881F
RGBrgb(151, 136, 31)
HSLhsl(53, 66%, 36%)
HSVhsv(53, 79%, 59%)
CMYKcmyk(0%, 9.9%, 79.5%, 40.8%)
CIE-LABlab(56.37, -5.83, 53.96)
CIE-LCHlch(56.37, 54.27, 96.16°)
OKLaboklab(62.2% -0.0221 0.1175)
OKLCHoklch(62.2% 0.12 100.7)
XYZxyz(21.8151, 24.2876, 4.8350)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97881F #1F2E97
analogous
#974C1F #97881F #6A971F
triadic
#97881F #1F9788 #881F97
tetradic
#97881F #1F974C #1F2E97 #971F6A
square
#97881F #1F974C #1F2E97 #971F6A
split-complementary
#97881F #1F6A97 #4C1F97
monochromatic
#312D0A #645A15 #97881F #CAB629 #DCCB54

Accessibility & contrast

On white

3.59
#97881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#97881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97881F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97881F#FFFFFF#000000##000000
##97881F1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968405
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#A37E74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97881f;
/* rgb */ color: rgb(151, 136, 31);
/* oklch */ color: oklch(62.2% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#b9aa64',
    500: '#97881f',
    950: '#000000',
  },
}
SCSS
$custom: #97881f;
$custom-light: #b9aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#97881f",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 52.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62195,
    "c": 0.11952,
    "h": 100.7
  },
  "luminance": 0.24287
}

Semantic roles & 50–950 ramp

primary
#97881F
secondary
#5260BF
accent
#54E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97881F

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

Preview Lab → · Contrast checker → · Palette generator →

#97881F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva