#978E39#978E39

#978E39 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.107 H 103.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#978E39
RGBrgb(151, 142, 57)
HSLhsl(54, 45%, 41%)
HSVhsv(54, 62%, 59%)
CMYKcmyk(0%, 6%, 62.3%, 40.8%)
CIE-LABlab(58.25, -7.66, 45.27)
CIE-LCHlch(58.25, 45.91, 99.61°)
OKLaboklab(63.74% -0.0245 0.1037)
OKLCHoklch(63.74% 0.107 103.3)
XYZxyz(23.1749, 26.2216, 7.7106)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E39 #394297
analogous
#975F39 #978E39 #719739
triadic
#978E39 #39978E #8E3997
tetradic
#978E39 #39975F #394297 #973971
square
#978E39 #39975F #394297 #973971
split-complementary
#978E39 #397197 #5F3997
monochromatic
#3E3A17 #6B6428 #978E39 #BDB350 #CEC67D

Accessibility & contrast

On white

3.36
#978E39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#978E39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E39
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E39#FFFFFF#000000##000000
##978E391.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A2F
Deuteranopia (green-blind)
#9D8E3E
Tritanopia (blue-blind)
#A2857C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e39;
/* rgb */ color: rgb(151, 142, 57);
/* oklch */ color: oklch(63.7% 0.107 103.3);
Tailwind
colors: {
  custom: {
    50: '#b8ae73',
    500: '#978e39',
    950: '#000000',
  },
}
SCSS
$custom: #978e39;
$custom-light: #b8ae73;
$custom-dark: #000000;
JSON
{
  "hex": "#978e39",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 54.255,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63742,
    "c": 0.10656,
    "h": 103.3
  },
  "luminance": 0.26221
}

Semantic roles & 50–950 ramp

primary
#978E39
secondary
#757BB7
accent
#5FD553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978E39

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

Preview Lab → · Contrast checker → · Palette generator →

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