#978D32#978D32

#978D32 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.111 H 103.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#978D32
RGBrgb(151, 141, 50)
HSLhsl(54, 50%, 39%)
HSVhsv(54, 67%, 59%)
CMYKcmyk(0%, 6.6%, 66.9%, 40.8%)
CIE-LABlab(57.90, -7.59, 48.05)
CIE-LCHlch(57.90, 48.65, 98.98°)
OKLaboklab(63.45% -0.0251 0.1085)
OKLCHoklch(63.45% 0.111 103)
XYZxyz(22.8640, 25.8603, 6.8042)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D32 #323C97
analogous
#975A32 #978D32 #6F9732
triadic
#978D32 #32978D #8D3297
tetradic
#978D32 #32975A #323C97 #97326F
square
#978D32 #32975A #323C97 #97326F
split-complementary
#978D32 #326F97 #5A3297
monochromatic
#3B3714 #696223 #978D32 #C1B545 #D1C773

Accessibility & contrast

On white

3.40
#978D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#978D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D32
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D32#FFFFFF#000000##000000
##978D321.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8826
Deuteranopia (green-blind)
#9D8D37
Tritanopia (blue-blind)
#A2837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d32;
/* rgb */ color: rgb(151, 141, 50);
/* oklch */ color: oklch(63.4% 0.111 103.0);
Tailwind
colors: {
  custom: {
    50: '#b8ae6f',
    500: '#978d32',
    950: '#000000',
  },
}
SCSS
$custom: #978d32;
$custom-light: #b8ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978d32",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 54.059,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6345,
    "c": 0.11139,
    "h": 103
  },
  "luminance": 0.25859
}

Semantic roles & 50–950 ramp

primary
#978D32
secondary
#6C74B9
accent
#5CDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978D32

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

Preview Lab → · Contrast checker → · Palette generator →

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