#97801D#97801D

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

Color values

HEX#97801D
RGBrgb(151, 128, 29)
HSLhsl(49, 68%, 35%)
HSVhsv(49, 81%, 59%)
CMYKcmyk(0%, 15.2%, 80.8%, 40.8%)
CIE-LABlab(54.14, -1.48, 52.62)
CIE-LCHlch(54.14, 52.64, 91.62°)
OKLaboklab(60.42% -0.0101 0.1142)
OKLCHoklch(60.42% 0.115 95)
XYZxyz(20.7046, 22.1076, 4.3388)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97801D #1D3497
analogous
#97431D #97801D #71971D
triadic
#97801D #1D9780 #801D97
tetradic
#97801D #1D9743 #1D3497 #971D71
square
#97801D #1D9743 #1D3497 #971D71
split-complementary
#97801D #1D7197 #431D97
monochromatic
#302909 #645413 #97801D #CAAC27 #DEC351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97801D#FFFFFF#000000##000000
##97801D1.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)
#8E7D04
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#A4756E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #97801d;
/* rgb */ color: rgb(151, 128, 29);
/* oklch */ color: oklch(60.4% 0.115 95.0);
Tailwind
colors: {
  custom: {
    50: '#baa462',
    500: '#97801d',
    950: '#000000',
  },
}
SCSS
$custom: #97801d;
$custom-light: #baa462;
$custom-dark: #000000;
JSON
{
  "hex": "#97801d",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 48.689,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60421,
    "c": 0.11459,
    "h": 95
  },
  "luminance": 0.22106
}

Semantic roles & 50–950 ramp

primary
#97801D
secondary
#4F65C0
accent
#5EEB3D
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97801D

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

Preview Lab → · Contrast checker → · Palette generator →

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