#978C35#978C35

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

Color values

HEX#978C35
RGBrgb(151, 140, 53)
HSLhsl(53, 48%, 40%)
HSVhsv(53, 65%, 59%)
CMYKcmyk(0%, 7.3%, 64.9%, 40.8%)
CIE-LABlab(57.65, -6.85, 46.45)
CIE-LCHlch(57.65, 46.96, 98.39°)
OKLaboklab(63.26% -0.0226 0.1056)
OKLCHoklch(63.26% 0.108 102.1)
XYZxyz(22.7841, 25.5934, 7.1073)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C35 #354097
analogous
#975B35 #978C35 #719735
triadic
#978C35 #35978C #8C3597
tetradic
#978C35 #35975B #354097 #973571
square
#978C35 #35975B #354097 #973571
split-complementary
#978C35 #357197 #5B3597
monochromatic
#3C3815 #6A6225 #978C35 #BFB24A #CFC577

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978C35#FFFFFF#000000##000000
##978C351.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)
#98882A
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#A2837A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978c35;
/* rgb */ color: rgb(151, 140, 53);
/* oklch */ color: oklch(63.3% 0.108 102.1);
Tailwind
colors: {
  custom: {
    50: '#b8ad70',
    500: '#978c35',
    950: '#000000',
  },
}
SCSS
$custom: #978c35;
$custom-light: #b8ad70;
$custom-dark: #000000;
JSON
{
  "hex": "#978c35",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 53
  },
  "hsl": {
    "h": 53.265,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.63256,
    "c": 0.10802,
    "h": 102.1
  },
  "luminance": 0.25593
}

Semantic roles & 50–950 ramp

primary
#978C35
secondary
#7078B8
accent
#5FD850
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978C35

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

Preview Lab → · Contrast checker → · Palette generator →

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