#97801A#97801A

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

Color values

HEX#97801A
RGBrgb(151, 128, 26)
HSLhsl(49, 71%, 35%)
HSVhsv(49, 83%, 59%)
CMYKcmyk(0%, 15.2%, 82.8%, 40.8%)
CIE-LABlab(54.13, -1.59, 53.58)
CIE-LCHlch(54.13, 53.61, 91.70°)
OKLaboklab(60.41% -0.0106 0.1156)
OKLCHoklch(60.41% 0.116 95.3)
XYZxyz(20.6693, 22.0934, 4.1529)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97801A #1A3197
analogous
#97421A #97801A #70971A
triadic
#97801A #1A9780 #801A97
tetradic
#97801A #1A9742 #1A3197 #971A70
square
#97801A #1A9742 #1A3197 #971A70
split-complementary
#97801A #1A7097 #421A97
monochromatic
#2F2708 #635411 #97801A #CBAC23 #E0C54B

Accessibility & contrast

On white

3.88
#97801A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97801A#FFFFFF#000000##000000
##97801A1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#948422
Tritanopia (blue-blind)
#A4756D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #97801a;
/* rgb */ color: rgb(151, 128, 26);
/* oklch */ color: oklch(60.4% 0.116 95.3);
Tailwind
colors: {
  custom: {
    50: '#baa461',
    500: '#97801a',
    950: '#000000',
  },
}
SCSS
$custom: #97801a;
$custom-light: #baa461;
$custom-dark: #000000;
JSON
{
  "hex": "#97801a",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 48.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60405,
    "c": 0.11608,
    "h": 95.3
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#97801A
secondary
#4B61C2
accent
#5BED3A
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #97801A

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

Preview Lab → · Contrast checker → · Palette generator →

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