#979A20#979A20

#979A20 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.136 H 111.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#979A20
RGBrgb(151, 154, 32)
HSLhsl(61, 66%, 36%)
HSVhsv(61, 79%, 60%)
CMYKcmyk(1.9%, 0%, 79.2%, 39.6%)
CIE-LABlab(61.48, -15.40, 58.23)
CIE-LCHlch(61.48, 60.23, 104.81°)
OKLaboklab(66.26% -0.0488 0.1268)
OKLCHoklch(66.26% 0.136 111.1)
XYZxyz(24.5797, 29.7955, 5.8225)
Luminance0.2979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A20 #23209A
analogous
#9A6020 #979A20 #5A9A20
triadic
#979A20 #20979A #9A2097
tetradic
#979A20 #209A60 #23209A #9A205A
square
#979A20 #209A60 #23209A #9A205A
split-complementary
#979A20 #205A9A #60209A
monochromatic
#34350B #656715 #979A20 #C9CD2B #D9DC58

Accessibility & contrast

On white

3.02
#979A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#979A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979A20
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A20#FFFFFF#000000##000000
##979A201.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A7962B
Tritanopia (blue-blind)
#A29084
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979a20;
/* rgb */ color: rgb(151, 154, 32);
/* oklch */ color: oklch(66.3% 0.136 111.1);
Tailwind
colors: {
  custom: {
    50: '#b9b767',
    500: '#979a20',
    950: '#000000',
  },
}
SCSS
$custom: #979a20;
$custom-light: #b9b767;
$custom-dark: #000000;
JSON
{
  "hex": "#979a20",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 61.475,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.13586,
    "h": 111.1
  },
  "luminance": 0.29795
}

Semantic roles & 50–950 ramp

primary
#979A20
secondary
#5856C0
accent
#3FE943
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979A20

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

Preview Lab → · Contrast checker → · Palette generator →

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