#97891E#97891E

#97891E 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#97891E
RGBrgb(151, 137, 30)
HSLhsl(53, 67%, 35%)
HSVhsv(53, 80%, 59%)
CMYKcmyk(0%, 9.3%, 80.1%, 40.8%)
CIE-LABlab(56.65, -6.41, 54.54)
CIE-LCHlch(56.65, 54.91, 96.71°)
OKLaboklab(62.41% -0.0239 0.1185)
OKLCHoklch(62.41% 0.121 101.4)
XYZxyz(21.9436, 24.5654, 4.8138)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97891E #1E2C97
analogous
#974C1E #97891E #68971E
triadic
#97891E #1E9789 #891E97
tetradic
#97891E #1E974C #1E2C97 #971E68
square
#97891E #1E974C #1E2C97 #971E68
split-complementary
#97891E #1E6897 #4C1E97
monochromatic
#312C0A #645B14 #97891E #CAB728 #DDCD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97891E#FFFFFF#000000##000000
##97891E1.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)
#978501
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#A37F75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #97891e;
/* rgb */ color: rgb(151, 137, 30);
/* oklch */ color: oklch(62.4% 0.121 101.4);
Tailwind
colors: {
  custom: {
    50: '#b9ab64',
    500: '#97891e',
    950: '#000000',
  },
}
SCSS
$custom: #97891e;
$custom-light: #b9ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#97891e",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 53.058,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62411,
    "c": 0.12086,
    "h": 101.4
  },
  "luminance": 0.24564
}

Semantic roles & 50–950 ramp

primary
#97891E
secondary
#515EC0
accent
#52EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97891E

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

Preview Lab → · Contrast checker → · Palette generator →

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