#979C19#979C19

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

Color values

HEX#979C19
RGBrgb(151, 156, 25)
HSLhsl(62, 72%, 35%)
HSVhsv(62, 84%, 61%)
CMYKcmyk(3.2%, 0%, 84%, 38.8%)
CIE-LABlab(62.02, -16.68, 60.66)
CIE-LCHlch(62.02, 62.91, 105.37°)
OKLaboklab(66.69% -0.0529 0.1307)
OKLCHoklch(66.69% 0.141 112)
XYZxyz(24.8273, 30.4271, 5.4847)
Luminance0.3043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C19 #1E199C
analogous
#9C5F19 #979C19 #559C19
triadic
#979C19 #19979C #9C1997
tetradic
#979C19 #199C5F #1E199C #9C1955
square
#979C19 #199C5F #1E199C #9C1955
split-complementary
#979C19 #19559C #5F199C
monochromatic
#313308 #646711 #979C19 #CAD121 #DDE24D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979C19#FFFFFF#000000##000000
##979C191.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)
#A99727
Tritanopia (blue-blind)
#A29285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c19;
/* rgb */ color: rgb(151, 156, 25);
/* oklch */ color: oklch(66.7% 0.141 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b965',
    500: '#979c19',
    950: '#000000',
  },
}
SCSS
$custom: #979c19;
$custom-light: #b9b965;
$custom-dark: #000000;
JSON
{
  "hex": "#979c19",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 25
  },
  "hsl": {
    "h": 62.29,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66689,
    "c": 0.14101,
    "h": 112
  },
  "luminance": 0.30426
}

Semantic roles & 50–950 ramp

primary
#979C19
secondary
#514CC4
accent
#39EF40
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979C19

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

Preview Lab → · Contrast checker → · Palette generator →

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