#978737#978737

#978737 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.102 H 98.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#978737
RGBrgb(151, 135, 55)
HSLhsl(50, 47%, 40%)
HSVhsv(50, 64%, 59%)
CMYKcmyk(0%, 10.6%, 63.6%, 40.8%)
CIE-LABlab(56.27, -3.98, 44.04)
CIE-LCHlch(56.27, 44.22, 95.16°)
OKLaboklab(62.17% -0.0142 0.1008)
OKLCHoklch(62.17% 0.102 98)
XYZxyz(22.1170, 24.1841, 7.1167)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978737 #374797
analogous
#975737 #978737 #779737
triadic
#978737 #379787 #873797
tetradic
#978737 #379757 #374797 #973777
square
#978737 #379757 #374797 #973777
split-complementary
#978737 #377797 #573797
monochromatic
#3D3716 #6A5F27 #978737 #BEAB4D #CFC07A

Accessibility & contrast

On white

3.60
#978737 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#978737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978737
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978737#FFFFFF#000000##000000
##9787371.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842E
Deuteranopia (green-blind)
#98893B
Tritanopia (blue-blind)
#A27E76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978737;
/* rgb */ color: rgb(151, 135, 55);
/* oklch */ color: oklch(62.2% 0.102 98.0);
Tailwind
colors: {
  custom: {
    50: '#b8a971',
    500: '#978737',
    950: '#000000',
  },
}
SCSS
$custom: #978737;
$custom-light: #b8a971;
$custom-dark: #000000;
JSON
{
  "hex": "#978737",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 55
  },
  "hsl": {
    "h": 50,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62169,
    "c": 0.1018,
    "h": 98
  },
  "luminance": 0.24183
}

Semantic roles & 50–950 ramp

primary
#978737
secondary
#727EB8
accent
#68D652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978737

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

Preview Lab → · Contrast checker → · Palette generator →

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