#97801B#97801B

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

Color values

HEX#97801B
RGBrgb(151, 128, 27)
HSLhsl(49, 70%, 35%)
HSVhsv(49, 82%, 59%)
CMYKcmyk(0%, 15.2%, 82.1%, 40.8%)
CIE-LABlab(54.13, -1.56, 53.27)
CIE-LCHlch(54.13, 53.29, 91.67°)
OKLaboklab(60.41% -0.0105 0.1151)
OKLCHoklch(60.41% 0.116 95.2)
XYZxyz(20.6807, 22.0980, 4.2128)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97801B #1B3297
analogous
#97421B #97801B #70971B
triadic
#97801B #1B9780 #801B97
tetradic
#97801B #1B9742 #1B3297 #971B70
square
#97801B #1B9742 #1B3297 #971B70
split-complementary
#97801B #1B7097 #421B97
monochromatic
#2F2808 #635412 #97801B #CBAC24 #DFC44D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97801B#FFFFFF#000000##000000
##97801B1.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)
#8E7D00
Deuteranopia (green-blind)
#948422
Tritanopia (blue-blind)
#A4756D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #97801b;
/* rgb */ color: rgb(151, 128, 27);
/* oklch */ color: oklch(60.4% 0.116 95.2);
Tailwind
colors: {
  custom: {
    50: '#baa461',
    500: '#97801b',
    950: '#000000',
  },
}
SCSS
$custom: #97801b;
$custom-light: #baa461;
$custom-dark: #000000;
JSON
{
  "hex": "#97801b",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 48.871,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.11559,
    "h": 95.2
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#97801B
secondary
#4C62C1
accent
#5CEC3B
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #97801B

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

Preview Lab → · Contrast checker → · Palette generator →

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