#978E46#978E46

#978E46 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.094 H 102.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#978E46
RGBrgb(151, 142, 70)
HSLhsl(53, 37%, 43%)
HSVhsv(53, 54%, 59%)
CMYKcmyk(0%, 6%, 53.6%, 40.8%)
CIE-LABlab(58.38, -6.62, 39.10)
CIE-LCHlch(58.38, 39.66, 99.61°)
OKLaboklab(63.9% -0.02 0.0921)
OKLCHoklch(63.9% 0.094 102.2)
XYZxyz(23.5417, 26.3683, 9.6427)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E46 #464F97
analogous
#976546 #978E46 #779746
triadic
#978E46 #46978E #8E4697
tetradic
#978E46 #469765 #464F97 #974677
square
#978E46 #469765 #464F97 #974677
split-complementary
#978E46 #467797 #654697
monochromatic
#433F1F #6D6733 #978E46 #B7AE63 #CAC38D

Accessibility & contrast

On white

3.35
#978E46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#978E46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E46
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E46#FFFFFF#000000##000000
##978E461.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A3F
Deuteranopia (green-blind)
#9C8E49
Tritanopia (blue-blind)
#A1867E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e46;
/* rgb */ color: rgb(151, 142, 70);
/* oklch */ color: oklch(63.9% 0.094 102.2);
Tailwind
colors: {
  custom: {
    50: '#b7ae7b',
    500: '#978e46',
    950: '#000000',
  },
}
SCSS
$custom: #978e46;
$custom-light: #b7ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#978e46",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 70
  },
  "hsl": {
    "h": 53.333,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.63897,
    "c": 0.09421,
    "h": 102.2
  },
  "luminance": 0.26368
}

Semantic roles & 50–950 ramp

primary
#978E46
secondary
#8389B6
accent
#68CD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #978E46

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

Preview Lab → · Contrast checker → · Palette generator →

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