#979820#979820

#979820 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.8% C 0.134 H 110.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#979820
RGBrgb(151, 152, 32)
HSLhsl(61, 65%, 36%)
HSVhsv(61, 79%, 60%)
CMYKcmyk(0.7%, 0%, 78.9%, 40.4%)
CIE-LABlab(60.91, -14.36, 57.72)
CIE-LCHlch(60.91, 59.48, 103.97°)
OKLaboklab(65.81% -0.0459 0.1257)
OKLCHoklch(65.81% 0.134 110.1)
XYZxyz(24.2524, 29.1408, 5.7134)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979820 #212098
analogous
#985D20 #979820 #5B9820
triadic
#979820 #209798 #982097
tetradic
#979820 #20985D #212098 #98205B
square
#979820 #20985D #212098 #98205B
split-complementary
#979820 #205B98 #5D2098
monochromatic
#33330B #656515 #979820 #C9CB2B #DADC57

Accessibility & contrast

On white

3.08
#979820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#979820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979820
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979820#FFFFFF#000000##000000
##9798201.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A6952B
Tritanopia (blue-blind)
#A28E82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #979820;
/* rgb */ color: rgb(151, 152, 32);
/* oklch */ color: oklch(65.8% 0.134 110.1);
Tailwind
colors: {
  custom: {
    50: '#b9b667',
    500: '#979820',
    950: '#000000',
  },
}
SCSS
$custom: #979820;
$custom-light: #b9b667;
$custom-dark: #000000;
JSON
{
  "hex": "#979820",
  "rgb": {
    "r": 151,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 60.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65806,
    "c": 0.13382,
    "h": 110.1
  },
  "luminance": 0.2914
}

Semantic roles & 50–950 ramp

primary
#979820
secondary
#5554BF
accent
#40E841
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979820

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

Preview Lab → · Contrast checker → · Palette generator →

#979820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva