#97891F#97891F

#97891F is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.120 H 101.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#97891F
RGBrgb(151, 137, 31)
HSLhsl(53, 66%, 36%)
HSVhsv(53, 79%, 59%)
CMYKcmyk(0%, 9.3%, 79.5%, 40.8%)
CIE-LABlab(56.65, -6.37, 54.21)
CIE-LCHlch(56.65, 54.59, 96.71°)
OKLaboklab(62.42% -0.0237 0.118)
OKLCHoklch(62.42% 0.12 101.4)
XYZxyz(21.9565, 24.5706, 4.8821)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97891F #1F2D97
analogous
#974D1F #97891F #69971F
triadic
#97891F #1F9789 #891F97
tetradic
#97891F #1F974D #1F2D97 #971F69
square
#97891F #1F974D #1F2D97 #971F69
split-complementary
#97891F #1F6997 #4D1F97
monochromatic
#312D0A #645B15 #97891F #CAB729 #DCCC54

Accessibility & contrast

On white

3.55
#97891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#97891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97891F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97891F#FFFFFF#000000##000000
##97891F1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978504
Deuteranopia (green-blind)
#9B8A27
Tritanopia (blue-blind)
#A37F75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #97891f;
/* rgb */ color: rgb(151, 137, 31);
/* oklch */ color: oklch(62.4% 0.120 101.4);
Tailwind
colors: {
  custom: {
    50: '#b9ab64',
    500: '#97891f',
    950: '#000000',
  },
}
SCSS
$custom: #97891f;
$custom-light: #b9ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#97891f",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 53,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62417,
    "c": 0.12034,
    "h": 101.4
  },
  "luminance": 0.2457
}

Semantic roles & 50–950 ramp

primary
#97891F
secondary
#525FBF
accent
#53E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97891F

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

Preview Lab → · Contrast checker → · Palette generator →

#97891F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva