#978327#978327

#978327 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.1% C 0.111 H 96.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#978327
RGBrgb(151, 131, 39)
HSLhsl(49, 59%, 37%)
HSVhsv(49, 74%, 59%)
CMYKcmyk(0%, 13.2%, 74.2%, 40.8%)
CIE-LABlab(55.03, -2.72, 49.76)
CIE-LCHlch(55.03, 49.83, 93.13°)
OKLaboklab(61.14% -0.0125 0.1101)
OKLCHoklch(61.14% 0.111 96.5)
XYZxyz(21.2461, 22.9595, 5.2316)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978327 #273B97
analogous
#974B27 #978327 #739727
triadic
#978327 #279783 #832797
tetradic
#978327 #27974B #273B97 #972773
square
#978327 #27974B #273B97 #972773
split-complementary
#978327 #277397 #4B2797
monochromatic
#362F0E #66591A #978327 #C8AD34 #D6C262

Accessibility & contrast

On white

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

On black

5.59
#978327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978327
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978327#FFFFFF#000000##000000
##9783271.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#96862D
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978327;
/* rgb */ color: rgb(151, 131, 39);
/* oklch */ color: oklch(61.1% 0.111 96.5);
Tailwind
colors: {
  custom: {
    50: '#b9a668',
    500: '#978327',
    950: '#000000',
  },
}
SCSS
$custom: #978327;
$custom-light: #b9a668;
$custom-dark: #000000;
JSON
{
  "hex": "#978327",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 49.286,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61144,
    "c": 0.11083,
    "h": 96.5
  },
  "luminance": 0.22958
}

Semantic roles & 50–950 ramp

primary
#978327
secondary
#5E6FBC
accent
#62E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978327

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

Preview Lab → · Contrast checker → · Palette generator →

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