#979C28#979C28

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

Color values

HEX#979C28
RGBrgb(151, 156, 40)
HSLhsl(63, 59%, 38%)
HSVhsv(63, 74%, 61%)
CMYKcmyk(3.2%, 0%, 74.4%, 38.8%)
CIE-LABlab(62.09, -16.10, 56.17)
CIE-LCHlch(62.09, 58.43, 105.99°)
OKLaboklab(66.77% -0.0501 0.1239)
OKLCHoklch(66.77% 0.134 112)
XYZxyz(25.0348, 30.5101, 6.5773)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C28 #2D289C
analogous
#9C6728 #979C28 #5D9C28
triadic
#979C28 #28979C #9C2897
tetradic
#979C28 #289C67 #2D289C #9C285D
square
#979C28 #289C67 #2D289C #9C285D
split-complementary
#979C28 #285D9C #67289C
monochromatic
#393B0F #686B1C #979C28 #C5CB36 #D3D867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979C28#FFFFFF#000000##000000
##979C281.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)
#A89510
Deuteranopia (green-blind)
#A99731
Tritanopia (blue-blind)
#A29286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c28;
/* rgb */ color: rgb(151, 156, 40);
/* oklch */ color: oklch(66.8% 0.134 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96b',
    500: '#979c28',
    950: '#000000',
  },
}
SCSS
$custom: #979c28;
$custom-light: #b9b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#979c28",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 62.586,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66768,
    "c": 0.13361,
    "h": 112
  },
  "luminance": 0.30509
}

Semantic roles & 50–950 ramp

primary
#979C28
secondary
#6662BE
accent
#45E24C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979C28

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

Preview Lab → · Contrast checker → · Palette generator →

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