#979B20#979B20

#979B20 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.5% C 0.137 H 111.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#979B20
RGBrgb(151, 155, 32)
HSLhsl(62, 66%, 37%)
HSVhsv(62, 79%, 61%)
CMYKcmyk(2.6%, 0%, 79.4%, 39.2%)
CIE-LABlab(61.76, -15.92, 58.49)
CIE-LCHlch(61.76, 60.62, 105.23°)
OKLaboklab(66.49% -0.0503 0.1273)
OKLCHoklch(66.49% 0.137 111.5)
XYZxyz(24.7454, 30.1269, 5.8778)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979B20 #24209B
analogous
#9B6220 #979B20 #5A9B20
triadic
#979B20 #20979B #9B2097
tetradic
#979B20 #209B62 #24209B #9B205A
square
#979B20 #209B62 #24209B #9B205A
split-complementary
#979B20 #205A9B #62209B
monochromatic
#34360B #666816 #979B20 #C8CE2A #D8DD59

Accessibility & contrast

On white

2.99
#979B20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#979B20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979B20
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979B20#FFFFFF#000000##000000
##979B201.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A8972B
Tritanopia (blue-blind)
#A29184
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979b20;
/* rgb */ color: rgb(151, 155, 32);
/* oklch */ color: oklch(66.5% 0.137 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b867',
    500: '#979b20',
    950: '#000000',
  },
}
SCSS
$custom: #979b20;
$custom-light: #b9b867;
$custom-dark: #000000;
JSON
{
  "hex": "#979b20",
  "rgb": {
    "r": 151,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 61.951,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66492,
    "c": 0.13689,
    "h": 111.5
  },
  "luminance": 0.30126
}

Semantic roles & 50–950 ramp

primary
#979B20
secondary
#5A56C1
accent
#3FE945
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979B20

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

Preview Lab → · Contrast checker → · Palette generator →

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