#978C32#978C32

#978C32 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.110 H 102.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#978C32
RGBrgb(151, 140, 50)
HSLhsl(53, 50%, 39%)
HSVhsv(53, 67%, 59%)
CMYKcmyk(0%, 7.3%, 66.9%, 40.8%)
CIE-LABlab(57.62, -7.05, 47.76)
CIE-LCHlch(57.62, 48.28, 98.39°)
OKLaboklab(63.23% -0.0236 0.1079)
OKLCHoklch(63.23% 0.11 102.3)
XYZxyz(22.7172, 25.5667, 6.7552)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C32 #323D97
analogous
#975932 #978C32 #709732
triadic
#978C32 #32978C #8C3297
tetradic
#978C32 #329759 #323D97 #973270
square
#978C32 #329759 #323D97 #973270
split-complementary
#978C32 #327097 #593297
monochromatic
#3B3714 #696123 #978C32 #C1B445 #D1C673

Accessibility & contrast

On white

3.44
#978C32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#978C32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C32
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C32#FFFFFF#000000##000000
##978C321.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998826
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#A28279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978c32;
/* rgb */ color: rgb(151, 140, 50);
/* oklch */ color: oklch(63.2% 0.110 102.3);
Tailwind
colors: {
  custom: {
    50: '#b8ad6f',
    500: '#978c32',
    950: '#000000',
  },
}
SCSS
$custom: #978c32;
$custom-light: #b8ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978c32",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 50
  },
  "hsl": {
    "h": 53.465,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63227,
    "c": 0.11045,
    "h": 102.3
  },
  "luminance": 0.25566
}

Semantic roles & 50–950 ramp

primary
#978C32
secondary
#6C75B9
accent
#5DDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978C32

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

Preview Lab → · Contrast checker → · Palette generator →

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