#97802E#97802E

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

Color values

HEX#97802E
RGBrgb(151, 128, 46)
HSLhsl(47, 53%, 39%)
HSVhsv(47, 70%, 59%)
CMYKcmyk(0%, 15.2%, 69.5%, 40.8%)
CIE-LABlab(54.26, -0.67, 46.02)
CIE-LCHlch(54.26, 46.02, 90.83°)
OKLaboklab(60.55% -0.0058 0.1035)
OKLCHoklch(60.55% 0.104 93.2)
XYZxyz(20.9759, 22.2161, 5.7675)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97802E #2E4597
analogous
#974B2E #97802E #79972E
triadic
#97802E #2E9780 #802E97
tetradic
#97802E #2E974B #2E4597 #972E79
square
#97802E #2E974B #2E4597 #972E79
split-complementary
#97802E #2E7997 #4B2E97
monochromatic
#393011 #685820 #97802E #C4A73E #D2BC6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97802E#FFFFFF#000000##000000
##97802E1.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)
#8E7E23
Deuteranopia (green-blind)
#938532
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97802e;
/* rgb */ color: rgb(151, 128, 46);
/* oklch */ color: oklch(60.5% 0.104 93.2);
Tailwind
colors: {
  custom: {
    50: '#b9a46b',
    500: '#97802e',
    950: '#000000',
  },
}
SCSS
$custom: #97802e;
$custom-light: #b9a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#97802e",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 46.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60548,
    "c": 0.10369,
    "h": 93.2
  },
  "luminance": 0.22215
}

Semantic roles & 50–950 ramp

primary
#97802E
secondary
#6779BA
accent
#6BDD4B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97802E

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

Preview Lab → · Contrast checker → · Palette generator →

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