#978D36#978D36

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

Color values

HEX#978D36
RGBrgb(151, 141, 54)
HSLhsl(54, 47%, 40%)
HSVhsv(54, 64%, 59%)
CMYKcmyk(0%, 6.6%, 64.2%, 40.8%)
CIE-LABlab(57.94, -7.33, 46.31)
CIE-LCHlch(57.94, 46.89, 98.99°)
OKLaboklab(63.49% -0.0239 0.1055)
OKLCHoklch(63.49% 0.108 102.8)
XYZxyz(22.9541, 25.8963, 7.2787)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D36 #364097
analogous
#975C36 #978D36 #719736
triadic
#978D36 #36978D #8D3697
tetradic
#978D36 #36975C #364097 #973671
square
#978D36 #36975C #364097 #973671
split-complementary
#978D36 #367197 #5C3697
monochromatic
#3D3916 #6A6326 #978D36 #BFB34B #CFC678

Accessibility & contrast

On white

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

On black

6.18
#978D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D36
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D36#FFFFFF#000000##000000
##978D361.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99892C
Deuteranopia (green-blind)
#9C8D3B
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d36;
/* rgb */ color: rgb(151, 141, 54);
/* oklch */ color: oklch(63.5% 0.108 102.8);
Tailwind
colors: {
  custom: {
    50: '#b8ae71',
    500: '#978d36',
    950: '#000000',
  },
}
SCSS
$custom: #978d36;
$custom-light: #b8ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#978d36",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 53.814,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63488,
    "c": 0.10814,
    "h": 102.8
  },
  "luminance": 0.25895
}

Semantic roles & 50–950 ramp

primary
#978D36
secondary
#7178B8
accent
#5FD751
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978D36

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

Preview Lab → · Contrast checker → · Palette generator →

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