#97803B#97803B

#97803B is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.7% C 0.093 H 91.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#97803B
RGBrgb(151, 128, 59)
HSLhsl(45, 44%, 41%)
HSVhsv(45, 61%, 59%)
CMYKcmyk(0%, 15.2%, 60.9%, 40.8%)
CIE-LABlab(54.38, 0.21, 39.99)
CIE-LCHlch(54.38, 40.00, 89.70°)
OKLaboklab(60.69% -0.0016 0.0927)
OKLCHoklch(60.69% 0.093 91)
XYZxyz(21.2720, 22.3345, 7.3274)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97803B #3B5297
analogous
#97523B #97803B #80973B
triadic
#97803B #3B9780 #803B97
tetradic
#97803B #3B9752 #3B5297 #973B80
square
#97803B #3B9752 #3B5297 #973B80
split-complementary
#97803B #3B8097 #523B97
monochromatic
#3F3519 #6B5B2A #97803B #BCA253 #CDBA7F

Accessibility & contrast

On white

3.84
#97803B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#97803B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97803B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97803B#FFFFFF#000000##000000
##97803B1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E34
Deuteranopia (green-blind)
#92853E
Tritanopia (blue-blind)
#A37771
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97803b;
/* rgb */ color: rgb(151, 128, 59);
/* oklch */ color: oklch(60.7% 0.093 91.0);
Tailwind
colors: {
  custom: {
    50: '#b8a473',
    500: '#97803b',
    950: '#000000',
  },
}
SCSS
$custom: #97803b;
$custom-light: #b8a473;
$custom-dark: #000000;
JSON
{
  "hex": "#97803b",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 59
  },
  "hsl": {
    "h": 45,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.09273,
    "h": 91
  },
  "luminance": 0.22333
}

Semantic roles & 50–950 ramp

primary
#97803B
secondary
#7787B7
accent
#74D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #97803B

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

Preview Lab → · Contrast checker → · Palette generator →

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