#97881C#97881C

#97881C 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.85:1 contrast (WCAG AA passes).

Color values

HEX#97881C
RGBrgb(151, 136, 28)
HSLhsl(53, 69%, 35%)
HSVhsv(53, 81%, 59%)
CMYKcmyk(0%, 9.9%, 81.5%, 40.8%)
CIE-LABlab(56.36, -5.94, 54.92)
CIE-LCHlch(56.36, 55.24, 96.17°)
OKLaboklab(62.18% -0.0227 0.1189)
OKLCHoklch(62.18% 0.121 100.8)
XYZxyz(21.7773, 24.2725, 4.6364)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97881C #1C2B97
analogous
#974B1C #97881C #68971C
triadic
#97881C #1C9788 #881C97
tetradic
#97881C #1C974B #1C2B97 #971C68
square
#97881C #1C974B #1C2B97 #971C68
split-complementary
#97881C #1C6897 #4B1C97
monochromatic
#302B09 #635A12 #97881C #CBB626 #DECD4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #97881c;
/* rgb */ color: rgb(151, 136, 28);
/* oklch */ color: oklch(62.2% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#b9aa63',
    500: '#97881c',
    950: '#000000',
  },
}
SCSS
$custom: #97881c;
$custom-light: #b9aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#97881c",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 28
  },
  "hsl": {
    "h": 52.683,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62178,
    "c": 0.12104,
    "h": 100.8
  },
  "luminance": 0.24271
}

Semantic roles & 50–950 ramp

primary
#97881C
secondary
#4E5CC1
accent
#52EC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97881C

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

Preview Lab → · Contrast checker → · Palette generator →

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