#978C33#978C33

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

Color values

HEX#978C33
RGBrgb(151, 140, 51)
HSLhsl(53, 50%, 40%)
HSVhsv(53, 66%, 59%)
CMYKcmyk(0%, 7.3%, 66.2%, 40.8%)
CIE-LABlab(57.63, -6.98, 47.33)
CIE-LCHlch(57.63, 47.84, 98.39°)
OKLaboklab(63.24% -0.0233 0.1072)
OKLCHoklch(63.24% 0.11 102.2)
XYZxyz(22.7390, 25.5754, 6.8701)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C33 #333E97
analogous
#975A33 #978C33 #709733
triadic
#978C33 #33978C #8C3397
tetradic
#978C33 #33975A #333E97 #973370
square
#978C33 #33975A #333E97 #973370
split-complementary
#978C33 #337097 #5A3397
monochromatic
#3C3714 #696224 #978C33 #C1B347 #D0C674

Accessibility & contrast

On white

3.43
#978C33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##978C33#FFFFFF#000000##000000
##978C331.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978c33;
/* rgb */ color: rgb(151, 140, 51);
/* oklch */ color: oklch(63.2% 0.110 102.2);
Tailwind
colors: {
  custom: {
    50: '#b8ad6f',
    500: '#978c33',
    950: '#000000',
  },
}
SCSS
$custom: #978c33;
$custom-light: #b8ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978c33",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 51
  },
  "hsl": {
    "h": 53.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.10966,
    "h": 102.2
  },
  "luminance": 0.25574
}

Semantic roles & 50–950 ramp

primary
#978C33
secondary
#6D76B8
accent
#5ED94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978C33

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

Preview Lab → · Contrast checker → · Palette generator →

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