#979F20#979F20

#979F20 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.4% C 0.141 H 113.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#979F20
RGBrgb(151, 159, 32)
HSLhsl(64, 66%, 37%)
HSVhsv(64, 80%, 62%)
CMYKcmyk(5%, 0%, 79.9%, 37.6%)
CIE-LABlab(62.91, -17.98, 59.51)
CIE-LCHlch(62.91, 62.17, 106.81°)
OKLaboklab(67.41% -0.056 0.1295)
OKLCHoklch(67.41% 0.141 113.4)
XYZxyz(25.4222, 31.4804, 6.1034)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F20 #28209F
analogous
#9F6820 #979F20 #579F20
triadic
#979F20 #20979F #9F2097
tetradic
#979F20 #209F68 #28209F #9F2057
square
#979F20 #209F68 #28209F #9F2057
split-complementary
#979F20 #20579F #68209F
monochromatic
#36390B #676C16 #979F20 #C7D22A #D6DE5B

Accessibility & contrast

On white

2.88
#979F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#979F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F20
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F20#FFFFFF#000000##000000
##979F201.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#A29588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f20;
/* rgb */ color: rgb(151, 159, 32);
/* oklch */ color: oklch(67.4% 0.141 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb68',
    500: '#979f20',
    950: '#000000',
  },
}
SCSS
$custom: #979f20;
$custom-light: #b9bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#979f20",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 63.78,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67411,
    "c": 0.1411,
    "h": 113.4
  },
  "luminance": 0.3148
}

Semantic roles & 50–950 ramp

primary
#979F20
secondary
#5F59C2
accent
#3EE949
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979F20

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

Preview Lab → · Contrast checker → · Palette generator →

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