#978B37#978B37

#978B37 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.105 H 101.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#978B37
RGBrgb(151, 139, 55)
HSLhsl(53, 47%, 40%)
HSVhsv(53, 64%, 59%)
CMYKcmyk(0%, 7.9%, 63.6%, 40.8%)
CIE-LABlab(57.39, -6.17, 45.26)
CIE-LCHlch(57.39, 45.68, 97.77°)
OKLaboklab(63.05% -0.0205 0.1034)
OKLCHoklch(63.05% 0.105 101.2)
XYZxyz(22.6856, 25.3213, 7.3062)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B37 #374397
analogous
#975B37 #978B37 #739737
triadic
#978B37 #37978B #8B3797
tetradic
#978B37 #37975B #374397 #973773
square
#978B37 #37975B #374397 #973773
split-complementary
#978B37 #377397 #5B3797
monochromatic
#3D3816 #6A6227 #978B37 #BEB04D #CFC47A

Accessibility & contrast

On white

3.46
#978B37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#978B37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B37
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B37#FFFFFF#000000##000000
##978B371.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872D
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#A28279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b37;
/* rgb */ color: rgb(151, 139, 55);
/* oklch */ color: oklch(63.1% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#b8ac72',
    500: '#978b37',
    950: '#000000',
  },
}
SCSS
$custom: #978b37;
$custom-light: #b8ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#978b37",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 52.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63054,
    "c": 0.1054,
    "h": 101.2
  },
  "luminance": 0.2532
}

Semantic roles & 50–950 ramp

primary
#978B37
secondary
#727BB8
accent
#62D652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978B37

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

Preview Lab → · Contrast checker → · Palette generator →

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