#97891D#97891D

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

Color values

HEX#97891D
RGBrgb(151, 137, 29)
HSLhsl(53, 68%, 35%)
HSVhsv(53, 81%, 59%)
CMYKcmyk(0%, 9.3%, 80.8%, 40.8%)
CIE-LABlab(56.64, -6.45, 54.86)
CIE-LCHlch(56.64, 55.23, 96.71°)
OKLaboklab(62.41% -0.0241 0.119)
OKLCHoklch(62.41% 0.121 101.4)
XYZxyz(21.9310, 24.5604, 4.7476)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97891D #1D2B97
analogous
#974C1D #97891D #68971D
triadic
#97891D #1D9789 #891D97
tetradic
#97891D #1D974C #1D2B97 #971D68
square
#97891D #1D974C #1D2B97 #971D68
split-complementary
#97891D #1D6897 #4C1D97
monochromatic
#302C09 #645A13 #97891D #CAB827 #DECD51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97891D#FFFFFF#000000##000000
##97891D1.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)
#978500
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#A37E75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #97891d;
/* rgb */ color: rgb(151, 137, 29);
/* oklch */ color: oklch(62.4% 0.121 101.4);
Tailwind
colors: {
  custom: {
    50: '#b9ab64',
    500: '#97891d',
    950: '#000000',
  },
}
SCSS
$custom: #97891d;
$custom-light: #b9ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#97891d",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 53.115,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62406,
    "c": 0.12137,
    "h": 101.4
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#97891D
secondary
#4F5CC0
accent
#51EB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97891D

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

Preview Lab → · Contrast checker → · Palette generator →

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