#978032#978032

#978032 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.6% C 0.101 H 92.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#978032
RGBrgb(151, 128, 50)
HSLhsl(46, 50%, 39%)
HSVhsv(46, 67%, 59%)
CMYKcmyk(0%, 15.2%, 66.9%, 40.8%)
CIE-LABlab(54.29, -0.42, 44.24)
CIE-LCHlch(54.29, 44.24, 90.55°)
OKLaboklab(60.59% -0.0046 0.1004)
OKLCHoklch(60.59% 0.101 92.6)
XYZxyz(21.0584, 22.2491, 6.2023)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978032 #324997
analogous
#974E32 #978032 #7C9732
triadic
#978032 #329780 #803297
tetradic
#978032 #32974E #324997 #97327C
square
#978032 #32974E #324997 #97327C
split-complementary
#978032 #327C97 #4E3297
monochromatic
#3B3214 #695923 #978032 #C1A545 #D1BB73

Accessibility & contrast

On white

3.85
#978032 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#978032 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978032
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978032#FFFFFF#000000##000000
##9780321.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E29
Deuteranopia (green-blind)
#938536
Tritanopia (blue-blind)
#A3766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978032;
/* rgb */ color: rgb(151, 128, 50);
/* oklch */ color: oklch(60.6% 0.101 92.6);
Tailwind
colors: {
  custom: {
    50: '#b9a46e',
    500: '#978032',
    950: '#000000',
  },
}
SCSS
$custom: #978032;
$custom-light: #b9a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#978032",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 50
  },
  "hsl": {
    "h": 46.337,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.10055,
    "h": 92.6
  },
  "luminance": 0.22248
}

Semantic roles & 50–950 ramp

primary
#978032
secondary
#6C7EB9
accent
#6EDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978032

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

Preview Lab → · Contrast checker → · Palette generator →

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