#97801E#97801E

#97801E is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.114 H 95.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#97801E
RGBrgb(151, 128, 30)
HSLhsl(49, 67%, 35%)
HSVhsv(49, 80%, 59%)
CMYKcmyk(0%, 15.2%, 80.1%, 40.8%)
CIE-LABlab(54.15, -1.45, 52.28)
CIE-LCHlch(54.15, 52.30, 91.58°)
OKLaboklab(60.43% -0.0099 0.1136)
OKLCHoklch(60.43% 0.114 95)
XYZxyz(20.7172, 22.1126, 4.4050)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97801E #1E3597
analogous
#97431E #97801E #71971E
triadic
#97801E #1E9780 #801E97
tetradic
#97801E #1E9743 #1E3597 #971E71
square
#97801E #1E9743 #1E3597 #971E71
split-complementary
#97801E #1E7197 #431E97
monochromatic
#31290A #645514 #97801E #CAAB28 #DDC353

Accessibility & contrast

On white

3.87
#97801E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#97801E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97801E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97801E#FFFFFF#000000##000000
##97801E1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#A4756E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #97801e;
/* rgb */ color: rgb(151, 128, 30);
/* oklch */ color: oklch(60.4% 0.114 95.0);
Tailwind
colors: {
  custom: {
    50: '#baa463',
    500: '#97801e',
    950: '#000000',
  },
}
SCSS
$custom: #97801e;
$custom-light: #baa463;
$custom-dark: #000000;
JSON
{
  "hex": "#97801e",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 48.595,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.11407,
    "h": 95
  },
  "luminance": 0.22111
}

Semantic roles & 50–950 ramp

primary
#97801E
secondary
#5166C0
accent
#5FEA3E
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97801E

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

Preview Lab → · Contrast checker → · Palette generator →

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