#979D20#979D20

#979D20 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.0% C 0.139 H 112.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#979D20
RGBrgb(151, 157, 32)
HSLhsl(63, 66%, 37%)
HSVhsv(63, 80%, 62%)
CMYKcmyk(3.8%, 0%, 79.6%, 38.4%)
CIE-LABlab(62.34, -16.95, 59.00)
CIE-LCHlch(62.34, 61.39, 106.03°)
OKLaboklab(66.95% -0.0531 0.1284)
OKLCHoklch(66.95% 0.139 112.5)
XYZxyz(25.0810, 30.7981, 5.9896)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D20 #26209D
analogous
#9D6520 #979D20 #599D20
triadic
#979D20 #20979D #9D2097
tetradic
#979D20 #209D65 #26209D #9D2059
square
#979D20 #209D65 #26209D #9D2059
split-complementary
#979D20 #20599D #65209D
monochromatic
#35370B #666A16 #979D20 #C8D02A #D7DD5A

Accessibility & contrast

On white

2.93
#979D20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#979D20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979D20
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979D20#FFFFFF#000000##000000
##979D201.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AA982C
Tritanopia (blue-blind)
#A29386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979d20;
/* rgb */ color: rgb(151, 157, 32);
/* oklch */ color: oklch(67.0% 0.139 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9b968',
    500: '#979d20',
    950: '#000000',
  },
}
SCSS
$custom: #979d20;
$custom-light: #b9b968;
$custom-dark: #000000;
JSON
{
  "hex": "#979d20",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 62.88,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66951,
    "c": 0.13899,
    "h": 112.5
  },
  "luminance": 0.30798
}

Semantic roles & 50–950 ramp

primary
#979D20
secondary
#5C57C1
accent
#3FE947
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979D20

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

Preview Lab → · Contrast checker → · Palette generator →

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