#97881A#97881A

#97881A 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#97881A
RGBrgb(151, 136, 26)
HSLhsl(53, 71%, 35%)
HSVhsv(53, 83%, 59%)
CMYKcmyk(0%, 9.9%, 82.8%, 40.8%)
CIE-LABlab(56.35, -6.01, 55.52)
CIE-LCHlch(56.35, 55.84, 96.18°)
OKLaboklab(62.17% -0.0231 0.1198)
OKLCHoklch(62.17% 0.122 100.9)
XYZxyz(21.7542, 24.2633, 4.5145)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97881A #1A2997
analogous
#974A1A #97881A #68971A
triadic
#97881A #1A9788 #881A97
tetradic
#97881A #1A974A #1A2997 #971A68
square
#97881A #1A974A #1A2997 #971A68
split-complementary
#97881A #1A6897 #4A1A97
monochromatic
#2F2A08 #635911 #97881A #CBB723 #E0CE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97881A#FFFFFF#000000##000000
##97881A1.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)
#9A8A23
Tritanopia (blue-blind)
#A37D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97881a;
/* rgb */ color: rgb(151, 136, 26);
/* oklch */ color: oklch(62.2% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#baaa62',
    500: '#97881a',
    950: '#000000',
  },
}
SCSS
$custom: #97881a;
$custom-light: #baaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#97881a",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 26
  },
  "hsl": {
    "h": 52.8,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62168,
    "c": 0.12199,
    "h": 100.9
  },
  "luminance": 0.24262
}

Semantic roles & 50–950 ramp

primary
#97881A
secondary
#4B59C2
accent
#50ED3A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97881A

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

Preview Lab → · Contrast checker → · Palette generator →

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