#978328#978328

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

Color values

HEX#978328
RGBrgb(151, 131, 40)
HSLhsl(49, 58%, 37%)
HSVhsv(49, 74%, 59%)
CMYKcmyk(0%, 13.2%, 73.5%, 40.8%)
CIE-LABlab(55.04, -2.67, 49.36)
CIE-LCHlch(55.04, 49.43, 93.09°)
OKLaboklab(61.15% -0.0123 0.1095)
OKLCHoklch(61.15% 0.11 96.4)
XYZxyz(21.2629, 22.9662, 5.3200)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978328 #283C97
analogous
#974B28 #978328 #749728
triadic
#978328 #289783 #832897
tetradic
#978328 #28974B #283C97 #972874
square
#978328 #28974B #283C97 #972874
split-complementary
#978328 #287497 #4B2897
monochromatic
#362F0E #67591B #978328 #C7AD35 #D6C164

Accessibility & contrast

On white

3.75
#978328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##978328#FFFFFF#000000##000000
##9783281.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978328;
/* rgb */ color: rgb(151, 131, 40);
/* oklch */ color: oklch(61.2% 0.110 96.4);
Tailwind
colors: {
  custom: {
    50: '#b9a668',
    500: '#978328',
    950: '#000000',
  },
}
SCSS
$custom: #978328;
$custom-light: #b9a668;
$custom-dark: #000000;
JSON
{
  "hex": "#978328",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 49.189,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61152,
    "c": 0.11016,
    "h": 96.4
  },
  "luminance": 0.22965
}

Semantic roles & 50–950 ramp

primary
#978328
secondary
#5F70BC
accent
#62E146
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978328

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

Preview Lab → · Contrast checker → · Palette generator →

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