#97891A#97891A

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

Color values

HEX#97891A
RGBrgb(151, 137, 26)
HSLhsl(53, 71%, 35%)
HSVhsv(53, 83%, 59%)
CMYKcmyk(0%, 9.3%, 82.8%, 40.8%)
CIE-LABlab(56.63, -6.55, 55.76)
CIE-LCHlch(56.63, 56.15, 96.70°)
OKLaboklab(62.39% -0.0246 0.1203)
OKLCHoklch(62.39% 0.123 101.6)
XYZxyz(21.8957, 24.5462, 4.5617)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97891A #1A2897
analogous
#974B1A #97891A #67971A
triadic
#97891A #1A9789 #891A97
tetradic
#97891A #1A974B #1A2897 #971A67
square
#97891A #1A974B #1A2897 #971A67
split-complementary
#97891A #1A6797 #4B1A97
monochromatic
#2F2A08 #635A11 #97891A #CBB823 #E0CF4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #97891a;
/* rgb */ color: rgb(151, 137, 26);
/* oklch */ color: oklch(62.4% 0.123 101.6);
Tailwind
colors: {
  custom: {
    50: '#baab62',
    500: '#97891a',
    950: '#000000',
  },
}
SCSS
$custom: #97891a;
$custom-light: #baab62;
$custom-dark: #000000;
JSON
{
  "hex": "#97891a",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 53.28,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6239,
    "c": 0.12281,
    "h": 101.6
  },
  "luminance": 0.24545
}

Semantic roles & 50–950 ramp

primary
#97891A
secondary
#4B58C2
accent
#4EED3A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97891A

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

Preview Lab → · Contrast checker → · Palette generator →

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