#979C1D#979C1D

#979C1D is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.7% C 0.139 H 112.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#979C1D
RGBrgb(151, 156, 29)
HSLhsl(62, 69%, 36%)
HSVhsv(62, 81%, 61%)
CMYKcmyk(3.2%, 0%, 81.4%, 38.8%)
CIE-LABlab(62.04, -16.55, 59.60)
CIE-LCHlch(62.04, 61.86, 105.52°)
OKLaboklab(66.71% -0.0522 0.1292)
OKLCHoklch(66.71% 0.139 112)
XYZxyz(24.8736, 30.4456, 5.7285)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C1D #221D9C
analogous
#9C621D #979C1D #589C1D
triadic
#979C1D #1D979C #9C1D97
tetradic
#979C1D #1D9C62 #221D9C #9C1D58
square
#979C1D #1D9C62 #221D9C #9C1D58
split-complementary
#979C1D #1D589C #621D9C
monochromatic
#33350A #656813 #979C1D #C9D027 #DADF54

Accessibility & contrast

On white

2.96
#979C1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#979C1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979C1D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979C1D#FFFFFF#000000##000000
##979C1D1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A99729
Tritanopia (blue-blind)
#A29285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c1d;
/* rgb */ color: rgb(151, 156, 29);
/* oklch */ color: oklch(66.7% 0.139 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b966',
    500: '#979c1d',
    950: '#000000',
  },
}
SCSS
$custom: #979c1d;
$custom-light: #b9b966;
$custom-dark: #000000;
JSON
{
  "hex": "#979c1d",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 62.362,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66707,
    "c": 0.13933,
    "h": 112
  },
  "luminance": 0.30445
}

Semantic roles & 50–950 ramp

primary
#979C1D
secondary
#5752C2
accent
#3CEB43
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979C1D

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

Preview Lab → · Contrast checker → · Palette generator →

#979C1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva