#978D33#978D33

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

Color values

HEX#978D33
RGBrgb(151, 141, 51)
HSLhsl(54, 50%, 40%)
HSVhsv(54, 66%, 59%)
CMYKcmyk(0%, 6.6%, 66.2%, 40.8%)
CIE-LABlab(57.91, -7.53, 47.63)
CIE-LCHlch(57.91, 48.22, 98.98°)
OKLaboklab(63.46% -0.0248 0.1078)
OKLCHoklch(63.46% 0.111 103)
XYZxyz(22.8858, 25.8690, 6.9190)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D33 #333D97
analogous
#975B33 #978D33 #6F9733
triadic
#978D33 #33978D #8D3397
tetradic
#978D33 #33975B #333D97 #97336F
square
#978D33 #33975B #333D97 #97336F
split-complementary
#978D33 #336F97 #5B3397
monochromatic
#3C3814 #696224 #978D33 #C1B447 #D0C774

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978D33#FFFFFF#000000##000000
##978D331.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)
#998828
Deuteranopia (green-blind)
#9D8D38
Tritanopia (blue-blind)
#A2837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d33;
/* rgb */ color: rgb(151, 141, 51);
/* oklch */ color: oklch(63.5% 0.111 103.0);
Tailwind
colors: {
  custom: {
    50: '#b8ae6f',
    500: '#978d33',
    950: '#000000',
  },
}
SCSS
$custom: #978d33;
$custom-light: #b8ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978d33",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 54,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63459,
    "c": 0.1106,
    "h": 103
  },
  "luminance": 0.25868
}

Semantic roles & 50–950 ramp

primary
#978D33
secondary
#6D75B8
accent
#5DD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978D33

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

Preview Lab → · Contrast checker → · Palette generator →

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