#978D37#978D37

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

Color values

HEX#978D37
RGBrgb(151, 141, 55)
HSLhsl(54, 47%, 40%)
HSVhsv(54, 64%, 59%)
CMYKcmyk(0%, 6.6%, 63.6%, 40.8%)
CIE-LABlab(57.95, -7.26, 45.86)
CIE-LCHlch(57.95, 46.44, 99.00°)
OKLaboklab(63.5% -0.0236 0.1047)
OKLCHoklch(63.5% 0.107 102.7)
XYZxyz(22.9778, 25.9058, 7.4036)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D37 #374197
analogous
#975D37 #978D37 #719737
triadic
#978D37 #37978D #8D3797
tetradic
#978D37 #37975D #374197 #973771
square
#978D37 #37975D #374197 #973771
split-complementary
#978D37 #377197 #5D3797
monochromatic
#3D3916 #6A6327 #978D37 #BEB24D #CFC67A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978D37#FFFFFF#000000##000000
##978D371.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)
#99892D
Deuteranopia (green-blind)
#9C8D3C
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d37;
/* rgb */ color: rgb(151, 141, 55);
/* oklch */ color: oklch(63.5% 0.107 102.7);
Tailwind
colors: {
  custom: {
    50: '#b8ae72',
    500: '#978d37',
    950: '#000000',
  },
}
SCSS
$custom: #978d37;
$custom-light: #b8ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#978d37",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 53.75,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63499,
    "c": 0.1073,
    "h": 102.7
  },
  "luminance": 0.25905
}

Semantic roles & 50–950 ramp

primary
#978D37
secondary
#7279B8
accent
#5FD652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978D37

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

Preview Lab → · Contrast checker → · Palette generator →

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