#978A32#978A32

#978A32 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.109 H 100.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#978A32
RGBrgb(151, 138, 50)
HSLhsl(52, 50%, 39%)
HSVhsv(52, 67%, 59%)
CMYKcmyk(0%, 8.6%, 66.9%, 40.8%)
CIE-LABlab(57.06, -5.96, 47.17)
CIE-LCHlch(57.06, 47.55, 97.20°)
OKLaboklab(62.78% -0.0204 0.1067)
OKLCHoklch(62.78% 0.109 100.9)
XYZxyz(22.4276, 24.9875, 6.6587)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A32 #323F97
analogous
#975832 #978A32 #729732
triadic
#978A32 #32978A #8A3297
tetradic
#978A32 #329758 #323F97 #973272
square
#978A32 #329758 #323F97 #973272
split-complementary
#978A32 #327297 #583297
monochromatic
#3B3614 #696023 #978A32 #C1B145 #D1C573

Accessibility & contrast

On white

3.50
#978A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#978A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A32
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A32#FFFFFF#000000##000000
##978A321.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978627
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#A28078
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a32;
/* rgb */ color: rgb(151, 138, 50);
/* oklch */ color: oklch(62.8% 0.109 100.9);
Tailwind
colors: {
  custom: {
    50: '#b8ab6f',
    500: '#978a32',
    950: '#000000',
  },
}
SCSS
$custom: #978a32;
$custom-light: #b8ab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978a32",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 52.277,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62782,
    "c": 0.10861,
    "h": 100.9
  },
  "luminance": 0.24987
}

Semantic roles & 50–950 ramp

primary
#978A32
secondary
#6C76B9
accent
#60DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978A32

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

Preview Lab → · Contrast checker → · Palette generator →

#978A32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva