#97881E#97881E

#97881E is a light, vivid 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#97881E
RGBrgb(151, 136, 30)
HSLhsl(53, 67%, 35%)
HSVhsv(53, 80%, 59%)
CMYKcmyk(0%, 9.9%, 80.1%, 40.8%)
CIE-LABlab(56.37, -5.87, 54.29)
CIE-LCHlch(56.37, 54.60, 96.17°)
OKLaboklab(62.19% -0.0223 0.1179)
OKLCHoklch(62.19% 0.12 100.7)
XYZxyz(21.8021, 24.2824, 4.7666)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97881E #1E2D97
analogous
#974B1E #97881E #69971E
triadic
#97881E #1E9788 #881E97
tetradic
#97881E #1E974B #1E2D97 #971E69
square
#97881E #1E974B #1E2D97 #971E69
split-complementary
#97881E #1E6997 #4B1E97
monochromatic
#312C0A #645A14 #97881E #CAB628 #DDCC53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97881E#FFFFFF#000000##000000
##97881E1.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)
#968402
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#A37D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97881e;
/* rgb */ color: rgb(151, 136, 30);
/* oklch */ color: oklch(62.2% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#b9aa64',
    500: '#97881e',
    950: '#000000',
  },
}
SCSS
$custom: #97881e;
$custom-light: #b9aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#97881e",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 52.562,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62189,
    "c": 0.12004,
    "h": 100.7
  },
  "luminance": 0.24281
}

Semantic roles & 50–950 ramp

primary
#97881E
secondary
#515FC0
accent
#53EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97881E

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

Preview Lab → · Contrast checker → · Palette generator →

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