#979937#979937

#979937 is a light, moderate yellow. Relative luminance 0.296; OKLCH L 66.2% C 0.120 H 110.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#979937
RGBrgb(151, 153, 55)
HSLhsl(61, 47%, 41%)
HSVhsv(61, 64%, 60%)
CMYKcmyk(1.3%, 0%, 64.1%, 40%)
CIE-LABlab(61.34, -13.67, 49.49)
CIE-LCHlch(61.34, 51.34, 105.45°)
OKLaboklab(66.2% -0.0417 0.1124)
OKLCHoklch(66.2% 0.12 110.4)
XYZxyz(24.8441, 29.6382, 8.0257)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979937 #393799
analogous
#996A37 #979937 #669937
triadic
#979937 #379799 #993797
tetradic
#979937 #37996A #393799 #993766
square
#979937 #37996A #393799 #993766
split-complementary
#979937 #376699 #6A3799
monochromatic
#3E3F17 #6B6C27 #979937 #BDBF4E #CED07B

Accessibility & contrast

On white

3.03
#979937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#979937 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979937
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979937#FFFFFF#000000##000000
##9799371.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932B
Deuteranopia (green-blind)
#A6953D
Tritanopia (blue-blind)
#A19085
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979937;
/* rgb */ color: rgb(151, 153, 55);
/* oklch */ color: oklch(66.2% 0.120 110.4);
Tailwind
colors: {
  custom: {
    50: '#b8b673',
    500: '#979937',
    950: '#000000',
  },
}
SCSS
$custom: #979937;
$custom-light: #b8b673;
$custom-dark: #000000;
JSON
{
  "hex": "#979937",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 61.224,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66202,
    "c": 0.11986,
    "h": 110.4
  },
  "luminance": 0.29638
}

Semantic roles & 50–950 ramp

primary
#979937
secondary
#7573B9
accent
#51D754
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #979937

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

Preview Lab → · Contrast checker → · Palette generator →

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