#97802F#97802F

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

Color values

HEX#97802F
RGBrgb(151, 128, 47)
HSLhsl(47, 53%, 39%)
HSVhsv(47, 69%, 59%)
CMYKcmyk(0%, 15.2%, 68.9%, 40.8%)
CIE-LABlab(54.26, -0.61, 45.58)
CIE-LCHlch(54.26, 45.58, 90.77°)
OKLaboklab(60.56% -0.0055 0.1028)
OKLCHoklch(60.56% 0.103 93.1)
XYZxyz(20.9958, 22.2240, 5.8725)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97802F #2F4697
analogous
#974C2F #97802F #7A972F
triadic
#97802F #2F9780 #802F97
tetradic
#97802F #2F974C #2F4697 #972F7A
square
#97802F #2F974C #2F4697 #972F7A
split-complementary
#97802F #2F7A97 #4C2F97
monochromatic
#3A3112 #685820 #97802F #C3A640 #D2BC6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97802F#FFFFFF#000000##000000
##97802F1.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)
#8E7E25
Deuteranopia (green-blind)
#938533
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97802f;
/* rgb */ color: rgb(151, 128, 47);
/* oklch */ color: oklch(60.6% 0.103 93.1);
Tailwind
colors: {
  custom: {
    50: '#b9a46c',
    500: '#97802f',
    950: '#000000',
  },
}
SCSS
$custom: #97802f;
$custom-light: #b9a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#97802f",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 46.731,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.10293,
    "h": 93.1
  },
  "luminance": 0.22223
}

Semantic roles & 50–950 ramp

primary
#97802F
secondary
#687AB9
accent
#6CDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97802F

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

Preview Lab → · Contrast checker → · Palette generator →

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