#97891C#97891C

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

Color values

HEX#97891C
RGBrgb(151, 137, 28)
HSLhsl(53, 69%, 35%)
HSVhsv(53, 81%, 59%)
CMYKcmyk(0%, 9.3%, 81.5%, 40.8%)
CIE-LABlab(56.64, -6.49, 55.17)
CIE-LCHlch(56.64, 55.55, 96.71°)
OKLaboklab(62.4% -0.0243 0.1194)
OKLCHoklch(62.4% 0.122 101.5)
XYZxyz(21.9188, 24.5555, 4.6835)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97891C #1C2A97
analogous
#974C1C #97891C #67971C
triadic
#97891C #1C9789 #891C97
tetradic
#97891C #1C974C #1C2A97 #971C67
square
#97891C #1C974C #1C2A97 #971C67
split-complementary
#97891C #1C6797 #4C1C97
monochromatic
#302B09 #635A12 #97891C #CBB826 #DECE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97891C#FFFFFF#000000##000000
##97891C1.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)
#9B8A25
Tritanopia (blue-blind)
#A37E75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #97891c;
/* rgb */ color: rgb(151, 137, 28);
/* oklch */ color: oklch(62.4% 0.122 101.5);
Tailwind
colors: {
  custom: {
    50: '#b9ab63',
    500: '#97891c',
    950: '#000000',
  },
}
SCSS
$custom: #97891c;
$custom-light: #b9ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#97891c",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 53.171,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.624,
    "c": 0.12186,
    "h": 101.5
  },
  "luminance": 0.24554
}

Semantic roles & 50–950 ramp

primary
#97891C
secondary
#4E5BC1
accent
#50EC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97891C

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

Preview Lab → · Contrast checker → · Palette generator →

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