#97881B#97881B

#97881B is a light, vivid yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.122 H 100.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#97881B
RGBrgb(151, 136, 27)
HSLhsl(53, 70%, 35%)
HSVhsv(53, 82%, 59%)
CMYKcmyk(0%, 9.9%, 82.1%, 40.8%)
CIE-LABlab(56.35, -5.97, 55.22)
CIE-LCHlch(56.35, 55.54, 96.17°)
OKLaboklab(62.17% -0.0229 0.1193)
OKLCHoklch(62.17% 0.122 100.9)
XYZxyz(21.7656, 24.2678, 4.5744)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97881B #1B2A97
analogous
#974A1B #97881B #68971B
triadic
#97881B #1B9788 #881B97
tetradic
#97881B #1B974A #1B2A97 #971B68
square
#97881B #1B974A #1B2A97 #971B68
split-complementary
#97881B #1B6897 #4A1B97
monochromatic
#2F2A08 #635912 #97881B #CBB724 #DFCE4D

Accessibility & contrast

On white

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

On black

5.85
#97881B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97881B
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97881B#FFFFFF#000000##000000
##97881B1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9A8A24
Tritanopia (blue-blind)
#A37D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97881b;
/* rgb */ color: rgb(151, 136, 27);
/* oklch */ color: oklch(62.2% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#baaa63',
    500: '#97881b',
    950: '#000000',
  },
}
SCSS
$custom: #97881b;
$custom-light: #baaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#97881b",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 52.742,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62173,
    "c": 0.12152,
    "h": 100.9
  },
  "luminance": 0.24267
}

Semantic roles & 50–950 ramp

primary
#97881B
secondary
#4C5BC1
accent
#51EC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97881B

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

Preview Lab → · Contrast checker → · Palette generator →

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