#979337#979337

#979337 is a light, moderate yellow. Relative luminance 0.277; OKLCH L 64.8% C 0.113 H 106.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#979337
RGBrgb(151, 147, 55)
HSLhsl(58, 47%, 40%)
HSVhsv(58, 64%, 59%)
CMYKcmyk(0%, 2.6%, 63.6%, 40.8%)
CIE-LABlab(59.64, -10.49, 47.68)
CIE-LCHlch(59.64, 48.82, 102.41°)
OKLaboklab(64.84% -0.0328 0.1085)
OKLCHoklch(64.84% 0.113 106.8)
XYZxyz(23.8866, 27.7233, 7.7066)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979337 #373B97
analogous
#976337 #979337 #6B9737
triadic
#979337 #379793 #933797
tetradic
#979337 #379763 #373B97 #97376B
square
#979337 #379763 #373B97 #97376B
split-complementary
#979337 #376B97 #633797
monochromatic
#3D3C16 #6A6727 #979337 #BEB94D #CFCB7A

Accessibility & contrast

On white

3.21
#979337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#979337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979337
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979337#FFFFFF#000000##000000
##9793371.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2C
Deuteranopia (green-blind)
#A1913C
Tritanopia (blue-blind)
#A28A80
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #979337;
/* rgb */ color: rgb(151, 147, 55);
/* oklch */ color: oklch(64.8% 0.113 106.8);
Tailwind
colors: {
  custom: {
    50: '#b8b272',
    500: '#979337',
    950: '#000000',
  },
}
SCSS
$custom: #979337;
$custom-light: #b8b272;
$custom-dark: #000000;
JSON
{
  "hex": "#979337",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 55
  },
  "hsl": {
    "h": 57.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64843,
    "c": 0.11337,
    "h": 106.8
  },
  "luminance": 0.27723
}

Semantic roles & 50–950 ramp

primary
#979337
secondary
#7275B8
accent
#57D652
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #979337

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

Preview Lab → · Contrast checker → · Palette generator →

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