#979826#979826

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

Color values

HEX#979826
RGBrgb(151, 152, 38)
HSLhsl(61, 60%, 37%)
HSVhsv(61, 75%, 60%)
CMYKcmyk(0.7%, 0%, 75%, 40.4%)
CIE-LABlab(60.94, -14.10, 55.78)
CIE-LCHlch(60.94, 57.53, 104.19°)
OKLaboklab(65.84% -0.0447 0.1227)
OKLCHoklch(65.84% 0.131 110)
XYZxyz(24.3415, 29.1764, 6.1827)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979826 #272698
analogous
#986026 #979826 #5E9826
triadic
#979826 #269798 #982697
tetradic
#979826 #269860 #272698 #98265E
square
#979826 #269860 #272698 #98265E
split-complementary
#979826 #265E98 #602698
monochromatic
#36360E #66671A #979826 #C8C932 #D6D761

Accessibility & contrast

On white

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

On black

6.84
#979826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979826
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979826#FFFFFF#000000##000000
##9798261.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979826;
/* rgb */ color: rgb(151, 152, 38);
/* oklch */ color: oklch(65.8% 0.131 110.0);
Tailwind
colors: {
  custom: {
    50: '#b9b66a',
    500: '#979826',
    950: '#000000',
  },
}
SCSS
$custom: #979826;
$custom-light: #b9b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#979826",
  "rgb": {
    "r": 151,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 60.526,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65841,
    "c": 0.13058,
    "h": 110
  },
  "luminance": 0.29176
}

Semantic roles & 50–950 ramp

primary
#979826
secondary
#5E5DBD
accent
#45E346
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979826

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

Preview Lab → · Contrast checker → · Palette generator →

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