#979824#979824

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

Color values

HEX#979824
RGBrgb(151, 152, 36)
HSLhsl(61, 62%, 37%)
HSVhsv(61, 76%, 60%)
CMYKcmyk(0.7%, 0%, 76.3%, 40.4%)
CIE-LABlab(60.93, -14.19, 56.45)
CIE-LCHlch(60.93, 58.21, 104.11°)
OKLaboklab(65.83% -0.0451 0.1237)
OKLCHoklch(65.83% 0.132 110)
XYZxyz(24.3101, 29.1639, 6.0173)
Luminance0.2916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979824 #252498
analogous
#985F24 #979824 #5D9824
triadic
#979824 #249798 #982497
tetradic
#979824 #24985F #252498 #98245D
square
#979824 #24985F #252498 #98245D
split-complementary
#979824 #245D98 #5F2498
monochromatic
#35350D #666718 #979824 #C8C930 #D8D95E

Accessibility & contrast

On white

3.07
#979824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##979824#FFFFFF#000000##000000
##9798241.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979824;
/* rgb */ color: rgb(151, 152, 36);
/* oklch */ color: oklch(65.8% 0.132 110.0);
Tailwind
colors: {
  custom: {
    50: '#b9b669',
    500: '#979824',
    950: '#000000',
  },
}
SCSS
$custom: #979824;
$custom-light: #b9b669;
$custom-dark: #000000;
JSON
{
  "hex": "#979824",
  "rgb": {
    "r": 151,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 60.517,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65829,
    "c": 0.13171,
    "h": 110
  },
  "luminance": 0.29163
}

Semantic roles & 50–950 ramp

primary
#979824
secondary
#5B5ABE
accent
#43E544
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979824

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

Preview Lab → · Contrast checker → · Palette generator →

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