#97802D#97802D

#97802D is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.5% C 0.104 H 93.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#97802D
RGBrgb(151, 128, 45)
HSLhsl(47, 54%, 38%)
HSVhsv(47, 70%, 59%)
CMYKcmyk(0%, 15.2%, 70.2%, 40.8%)
CIE-LABlab(54.25, -0.73, 46.45)
CIE-LCHlch(54.25, 46.46, 90.90°)
OKLaboklab(60.54% -0.0061 0.1043)
OKLCHoklch(60.54% 0.104 93.4)
XYZxyz(20.9564, 22.2083, 5.6649)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97802D #2D4497
analogous
#974B2D #97802D #79972D
triadic
#97802D #2D9780 #802D97
tetradic
#97802D #2D974B #2D4497 #972D79
square
#97802D #2D974B #2D4497 #972D79
split-complementary
#97802D #2D7997 #4B2D97
monochromatic
#393011 #68581F #97802D #C5A73C #D3BD6B

Accessibility & contrast

On white

3.86
#97802D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#97802D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97802D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97802D#FFFFFF#000000##000000
##97802D1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#938531
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97802d;
/* rgb */ color: rgb(151, 128, 45);
/* oklch */ color: oklch(60.5% 0.104 93.4);
Tailwind
colors: {
  custom: {
    50: '#b9a46b',
    500: '#97802d',
    950: '#000000',
  },
}
SCSS
$custom: #97802d;
$custom-light: #b9a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#97802d",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 46.981,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.10445,
    "h": 93.4
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

primary
#97802D
secondary
#6678BA
accent
#6ADD4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97802D

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

Preview Lab → · Contrast checker → · Palette generator →

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