#978337#978337

#978337 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.099 H 94.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#978337
RGBrgb(151, 131, 55)
HSLhsl(48, 47%, 40%)
HSVhsv(48, 64%, 59%)
CMYKcmyk(0%, 13.2%, 63.6%, 40.8%)
CIE-LABlab(55.16, -1.76, 42.83)
CIE-LCHlch(55.16, 42.86, 92.35°)
OKLaboklab(61.29% -0.0078 0.0982)
OKLCHoklch(61.29% 0.099 94.6)
XYZxyz(21.5694, 23.0888, 6.9342)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978337 #374B97
analogous
#975337 #978337 #7B9737
triadic
#978337 #379783 #833797
tetradic
#978337 #379753 #374B97 #97377B
square
#978337 #379753 #374B97 #97377B
split-complementary
#978337 #377B97 #533797
monochromatic
#3D3516 #6A5C27 #978337 #BEA74D #CFBD7A

Accessibility & contrast

On white

3.74
#978337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#978337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978337
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978337#FFFFFF#000000##000000
##9783371.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802F
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#A37973
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978337;
/* rgb */ color: rgb(151, 131, 55);
/* oklch */ color: oklch(61.3% 0.099 94.6);
Tailwind
colors: {
  custom: {
    50: '#b8a671',
    500: '#978337',
    950: '#000000',
  },
}
SCSS
$custom: #978337;
$custom-light: #b8a671;
$custom-dark: #000000;
JSON
{
  "hex": "#978337",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 47.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.09854,
    "h": 94.6
  },
  "luminance": 0.23088
}

Semantic roles & 50–950 ramp

primary
#978337
secondary
#7281B8
accent
#6DD652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978337

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

Preview Lab → · Contrast checker → · Palette generator →

#978337 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva