#978A39#978A39

#978A39 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.103 H 100.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#978A39
RGBrgb(151, 138, 57)
HSLhsl(52, 45%, 41%)
HSVhsv(52, 62%, 59%)
CMYKcmyk(0%, 8.6%, 62.3%, 40.8%)
CIE-LABlab(57.13, -5.48, 44.04)
CIE-LCHlch(57.13, 44.38, 97.10°)
OKLaboklab(62.85% -0.0183 0.1011)
OKLCHoklch(62.85% 0.103 100.2)
XYZxyz(22.5904, 25.0526, 7.5158)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A39 #394697
analogous
#975B39 #978A39 #759739
triadic
#978A39 #39978A #8A3997
tetradic
#978A39 #39975B #394697 #973975
square
#978A39 #39975B #394697 #973975
split-complementary
#978A39 #397597 #5B3997
monochromatic
#3E3917 #6B6128 #978A39 #BDAE50 #CEC37D

Accessibility & contrast

On white

3.49
#978A39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#978A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A39
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A39#FFFFFF#000000##000000
##978A391.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968630
Deuteranopia (green-blind)
#9A8B3D
Tritanopia (blue-blind)
#A28179
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a39;
/* rgb */ color: rgb(151, 138, 57);
/* oklch */ color: oklch(62.9% 0.103 100.2);
Tailwind
colors: {
  custom: {
    50: '#b8ab73',
    500: '#978a39',
    950: '#000000',
  },
}
SCSS
$custom: #978a39;
$custom-light: #b8ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#978a39",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 51.702,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62853,
    "c": 0.10273,
    "h": 100.2
  },
  "luminance": 0.25052
}

Semantic roles & 50–950 ramp

primary
#978A39
secondary
#757EB7
accent
#65D553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978A39

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

Preview Lab → · Contrast checker → · Palette generator →

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