#97803A#97803A

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

Color values

HEX#97803A
RGBrgb(151, 128, 58)
HSLhsl(45, 44%, 41%)
HSVhsv(45, 62%, 59%)
CMYKcmyk(0%, 15.2%, 61.6%, 40.8%)
CIE-LABlab(54.37, 0.13, 40.48)
CIE-LCHlch(54.37, 40.48, 89.81°)
OKLaboklab(60.68% -0.002 0.0936)
OKLCHoklch(60.68% 0.094 91.2)
XYZxyz(21.2464, 22.3243, 7.1921)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97803A #3A5197
analogous
#97513A #97803A #7F973A
triadic
#97803A #3A9780 #803A97
tetradic
#97803A #3A9751 #3A5197 #973A7F
square
#97803A #3A9751 #3A5197 #973A7F
split-complementary
#97803A #3A7F97 #513A97
monochromatic
#3F3518 #6B5B29 #97803A #BCA252 #CDBA7E

Accessibility & contrast

On white

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

On black

5.46
#97803A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97803A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97803A#FFFFFF#000000##000000
##97803A1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E33
Deuteranopia (green-blind)
#93853D
Tritanopia (blue-blind)
#A37770
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97803a;
/* rgb */ color: rgb(151, 128, 58);
/* oklch */ color: oklch(60.7% 0.094 91.2);
Tailwind
colors: {
  custom: {
    50: '#b8a473',
    500: '#97803a',
    950: '#000000',
  },
}
SCSS
$custom: #97803a;
$custom-light: #b8a473;
$custom-dark: #000000;
JSON
{
  "hex": "#97803a",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 58
  },
  "hsl": {
    "h": 45.161,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.09365,
    "h": 91.2
  },
  "luminance": 0.22323
}

Semantic roles & 50–950 ramp

primary
#97803A
secondary
#7686B7
accent
#73D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #97803A

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

Preview Lab → · Contrast checker → · Palette generator →

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