#978B36#978B36

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

Color values

HEX#978B36
RGBrgb(151, 139, 54)
HSLhsl(53, 47%, 40%)
HSVhsv(53, 64%, 59%)
CMYKcmyk(0%, 7.9%, 64.2%, 40.8%)
CIE-LABlab(57.38, -6.24, 45.71)
CIE-LCHlch(57.38, 46.13, 97.77°)
OKLaboklab(63.04% -0.0208 0.1042)
OKLCHoklch(63.04% 0.106 101.3)
XYZxyz(22.6619, 25.3118, 7.1813)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B36 #364297
analogous
#975A36 #978B36 #739736
triadic
#978B36 #36978B #8B3697
tetradic
#978B36 #36975A #364297 #973673
square
#978B36 #36975A #364297 #973673
split-complementary
#978B36 #367397 #5A3697
monochromatic
#3D3816 #6A6226 #978B36 #BFB14B #CFC478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978B36#FFFFFF#000000##000000
##978B361.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)
#97872C
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#A28279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b36;
/* rgb */ color: rgb(151, 139, 54);
/* oklch */ color: oklch(63.0% 0.106 101.3);
Tailwind
colors: {
  custom: {
    50: '#b8ac71',
    500: '#978b36',
    950: '#000000',
  },
}
SCSS
$custom: #978b36;
$custom-light: #b8ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#978b36",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 54
  },
  "hsl": {
    "h": 52.577,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63043,
    "c": 0.10625,
    "h": 101.3
  },
  "luminance": 0.25311
}

Semantic roles & 50–950 ramp

primary
#978B36
secondary
#717AB8
accent
#61D751
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978B36

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

Preview Lab → · Contrast checker → · Palette generator →

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