#978D34#978D34

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

Color values

HEX#978D34
RGBrgb(151, 141, 52)
HSLhsl(54, 49%, 40%)
HSVhsv(54, 66%, 59%)
CMYKcmyk(0%, 6.6%, 65.6%, 40.8%)
CIE-LABlab(57.92, -7.46, 47.19)
CIE-LCHlch(57.92, 47.78, 98.99°)
OKLaboklab(63.47% -0.0245 0.107)
OKLCHoklch(63.47% 0.11 102.9)
XYZxyz(22.9081, 25.8779, 7.0364)
Luminance0.2588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D34 #343E97
analogous
#975B34 #978D34 #709734
triadic
#978D34 #34978D #8D3497
tetradic
#978D34 #34975B #343E97 #973470
square
#978D34 #34975B #343E97 #973470
split-complementary
#978D34 #347097 #5B3497
monochromatic
#3C3815 #696224 #978D34 #C0B448 #D0C776

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978D34#FFFFFF#000000##000000
##978D341.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)
#998929
Deuteranopia (green-blind)
#9D8D39
Tritanopia (blue-blind)
#A2837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d34;
/* rgb */ color: rgb(151, 141, 52);
/* oklch */ color: oklch(63.5% 0.110 102.9);
Tailwind
colors: {
  custom: {
    50: '#b8ae70',
    500: '#978d34',
    950: '#000000',
  },
}
SCSS
$custom: #978d34;
$custom-light: #b8ae70;
$custom-dark: #000000;
JSON
{
  "hex": "#978d34",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 53.939,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63469,
    "c": 0.1098,
    "h": 102.9
  },
  "luminance": 0.25877
}

Semantic roles & 50–950 ramp

primary
#978D34
secondary
#6F76B8
accent
#5DD84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978D34

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

Preview Lab → · Contrast checker → · Palette generator →

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