#979C20#979C20

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

Color values

HEX#979C20
RGBrgb(151, 156, 32)
HSLhsl(62, 66%, 37%)
HSVhsv(62, 79%, 61%)
CMYKcmyk(3.2%, 0%, 79.5%, 38.8%)
CIE-LABlab(62.05, -16.44, 58.74)
CIE-LCHlch(62.05, 61.00, 105.63°)
OKLaboklab(66.72% -0.0517 0.1279)
OKLCHoklch(66.72% 0.138 112)
XYZxyz(24.9125, 30.4612, 5.9335)
Luminance0.3046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C20 #25209C
analogous
#9C6320 #979C20 #599C20
triadic
#979C20 #20979C #9C2097
tetradic
#979C20 #209C63 #25209C #9C2059
square
#979C20 #209C63 #25209C #9C2059
split-complementary
#979C20 #20599C #63209C
monochromatic
#35360B #666916 #979C20 #C8CF2A #D8DD59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979C20#FFFFFF#000000##000000
##979C201.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)
#A89400
Deuteranopia (green-blind)
#A9972B
Tritanopia (blue-blind)
#A29285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c20;
/* rgb */ color: rgb(151, 156, 32);
/* oklch */ color: oklch(66.7% 0.138 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b967',
    500: '#979c20',
    950: '#000000',
  },
}
SCSS
$custom: #979c20;
$custom-light: #b9b967;
$custom-dark: #000000;
JSON
{
  "hex": "#979c20",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 62.419,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66722,
    "c": 0.13794,
    "h": 112
  },
  "luminance": 0.30461
}

Semantic roles & 50–950 ramp

primary
#979C20
secondary
#5B57C1
accent
#3FE946
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979C20

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

Preview Lab → · Contrast checker → · Palette generator →

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