#979C26#979C26

#979C26 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.8% C 0.135 H 112.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#979C26
RGBrgb(151, 156, 38)
HSLhsl(63, 61%, 38%)
HSVhsv(63, 76%, 61%)
CMYKcmyk(3.2%, 0%, 75.6%, 38.8%)
CIE-LABlab(62.08, -16.19, 56.85)
CIE-LCHlch(62.08, 59.11, 105.89°)
OKLaboklab(66.76% -0.0505 0.125)
OKLCHoklch(66.76% 0.135 112)
XYZxyz(25.0016, 30.4968, 6.4028)
Luminance0.3050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C26 #2B269C
analogous
#9C6626 #979C26 #5C9C26
triadic
#979C26 #26979C #9C2697
tetradic
#979C26 #269C66 #2B269C #9C265C
square
#979C26 #269C66 #2B269C #9C265C
split-complementary
#979C26 #265C9C #66269C
monochromatic
#383A0E #676B1A #979C26 #C7CD32 #D4D963

Accessibility & contrast

On white

2.96
#979C26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#979C26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979C26
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979C26#FFFFFF#000000##000000
##979C261.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8950B
Deuteranopia (green-blind)
#A99730
Tritanopia (blue-blind)
#A29286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c26;
/* rgb */ color: rgb(151, 156, 38);
/* oklch */ color: oklch(66.8% 0.135 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96a',
    500: '#979c26',
    950: '#000000',
  },
}
SCSS
$custom: #979c26;
$custom-light: #b9b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#979c26",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 38
  },
  "hsl": {
    "h": 62.542,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.13478,
    "h": 112
  },
  "luminance": 0.30496
}

Semantic roles & 50–950 ramp

primary
#979C26
secondary
#635FBF
accent
#44E44B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979C26

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

Preview Lab → · Contrast checker → · Palette generator →

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