#978C38#978C38

#978C38 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.3% C 0.105 H 101.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#978C38
RGBrgb(151, 140, 56)
HSLhsl(53, 46%, 41%)
HSVhsv(53, 63%, 59%)
CMYKcmyk(0%, 7.3%, 62.9%, 40.8%)
CIE-LABlab(57.68, -6.65, 45.11)
CIE-LCHlch(57.68, 45.60, 98.38°)
OKLaboklab(63.29% -0.0217 0.1032)
OKLCHoklch(63.29% 0.105 101.9)
XYZxyz(22.8553, 25.6219, 7.4822)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C38 #384397
analogous
#975C38 #978C38 #729738
triadic
#978C38 #38978C #8C3897
tetradic
#978C38 #38975C #384397 #973872
square
#978C38 #38975C #384397 #973872
split-complementary
#978C38 #387297 #5C3897
monochromatic
#3E3917 #6A6327 #978C38 #BEB14F #CEC57B

Accessibility & contrast

On white

3.43
#978C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#978C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C38
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C38#FFFFFF#000000##000000
##978C381.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98882E
Deuteranopia (green-blind)
#9C8D3C
Tritanopia (blue-blind)
#A2837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978c38;
/* rgb */ color: rgb(151, 140, 56);
/* oklch */ color: oklch(63.3% 0.105 101.9);
Tailwind
colors: {
  custom: {
    50: '#b8ad72',
    500: '#978c38',
    950: '#000000',
  },
}
SCSS
$custom: #978c38;
$custom-light: #b8ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#978c38",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 53.053,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.10549,
    "h": 101.9
  },
  "luminance": 0.25621
}

Semantic roles & 50–950 ramp

primary
#978C38
secondary
#737BB7
accent
#61D652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978C38

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

Preview Lab → · Contrast checker → · Palette generator →

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