#978A35#978A35

#978A35 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.106 H 100.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#978A35
RGBrgb(151, 138, 53)
HSLhsl(52, 48%, 40%)
HSVhsv(52, 65%, 59%)
CMYKcmyk(0%, 8.6%, 64.9%, 40.8%)
CIE-LABlab(57.09, -5.76, 45.85)
CIE-LCHlch(57.09, 46.22, 97.16°)
OKLaboklab(62.81% -0.0195 0.1044)
OKLCHoklch(62.81% 0.106 100.6)
XYZxyz(22.4945, 25.0143, 7.0108)
Luminance0.2501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A35 #354297
analogous
#975935 #978A35 #739735
triadic
#978A35 #35978A #8A3597
tetradic
#978A35 #359759 #354297 #973573
square
#978A35 #359759 #354297 #973573
split-complementary
#978A35 #357397 #593597
monochromatic
#3C3715 #6A6125 #978A35 #BFB04A #CFC477

Accessibility & contrast

On white

3.50
#978A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#978A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A35
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A35#FFFFFF#000000##000000
##978A351.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97862B
Deuteranopia (green-blind)
#9A8B3A
Tritanopia (blue-blind)
#A28078
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a35;
/* rgb */ color: rgb(151, 138, 53);
/* oklch */ color: oklch(62.8% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#b8ab70',
    500: '#978a35',
    950: '#000000',
  },
}
SCSS
$custom: #978a35;
$custom-light: #b8ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#978a35",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 52.041,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.62811,
    "c": 0.10616,
    "h": 100.6
  },
  "luminance": 0.25013
}

Semantic roles & 50–950 ramp

primary
#978A35
secondary
#7079B8
accent
#62D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978A35

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

Preview Lab → · Contrast checker → · Palette generator →

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