#97881D#97881D

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

Color values

HEX#97881D
RGBrgb(151, 136, 29)
HSLhsl(53, 68%, 35%)
HSVhsv(53, 81%, 59%)
CMYKcmyk(0%, 9.9%, 80.8%, 40.8%)
CIE-LABlab(56.36, -5.90, 54.61)
CIE-LCHlch(56.36, 54.92, 96.17°)
OKLaboklab(62.18% -0.0225 0.1184)
OKLCHoklch(62.18% 0.121 100.8)
XYZxyz(21.7895, 24.2774, 4.7004)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97881D #1D2C97
analogous
#974B1D #97881D #69971D
triadic
#97881D #1D9788 #881D97
tetradic
#97881D #1D974B #1D2C97 #971D69
square
#97881D #1D974B #1D2C97 #971D69
split-complementary
#97881D #1D6997 #4B1D97
monochromatic
#302C09 #645A13 #97881D #CAB627 #DECC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97881D#FFFFFF#000000##000000
##97881D1.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)
#968400
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#A37D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97881d;
/* rgb */ color: rgb(151, 136, 29);
/* oklch */ color: oklch(62.2% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#b9aa63',
    500: '#97881d',
    950: '#000000',
  },
}
SCSS
$custom: #97881d;
$custom-light: #b9aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#97881d",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 52.623,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62183,
    "c": 0.12055,
    "h": 100.8
  },
  "luminance": 0.24276
}

Semantic roles & 50–950 ramp

primary
#97881D
secondary
#4F5DC0
accent
#52EB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97881D

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

Preview Lab → · Contrast checker → · Palette generator →

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