#978320#978320

#978320 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.115 H 97.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#978320
RGBrgb(151, 131, 32)
HSLhsl(50, 65%, 36%)
HSVhsv(50, 79%, 59%)
CMYKcmyk(0%, 13.2%, 78.8%, 40.8%)
CIE-LABlab(54.99, -3.03, 52.35)
CIE-LCHlch(54.99, 52.44, 93.32°)
OKLaboklab(61.1% -0.0142 0.1142)
OKLCHoklch(61.1% 0.115 97.1)
XYZxyz(21.1406, 22.9173, 4.6762)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978320 #203497
analogous
#974720 #978320 #6F9720
triadic
#978320 #209783 #832097
tetradic
#978320 #209747 #203497 #97206F
square
#978320 #209747 #203497 #97206F
split-complementary
#978320 #206F97 #472097
monochromatic
#322B0B #645715 #978320 #C9AF2B #DBC556

Accessibility & contrast

On white

3.76
#978320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#978320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978320
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978320#FFFFFF#000000##000000
##9783201.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#A37870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978320;
/* rgb */ color: rgb(151, 131, 32);
/* oklch */ color: oklch(61.1% 0.115 97.1);
Tailwind
colors: {
  custom: {
    50: '#b9a664',
    500: '#978320',
    950: '#000000',
  },
}
SCSS
$custom: #978320;
$custom-light: #b9a664;
$custom-dark: #000000;
JSON
{
  "hex": "#978320",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 49.916,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.11508,
    "h": 97.1
  },
  "luminance": 0.22916
}

Semantic roles & 50–950 ramp

primary
#978320
secondary
#5466BF
accent
#5CE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978320

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

Preview Lab → · Contrast checker → · Palette generator →

#978320 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva