#979C30#979C30

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

Color values

HEX#979C30
RGBrgb(151, 156, 48)
HSLhsl(63, 53%, 40%)
HSVhsv(63, 69%, 61%)
CMYKcmyk(3.2%, 0%, 69.2%, 38.8%)
CIE-LABlab(62.14, -15.68, 53.22)
CIE-LCHlch(62.14, 55.48, 106.41°)
OKLaboklab(66.83% -0.0481 0.1191)
OKLCHoklch(66.83% 0.128 112)
XYZxyz(25.1852, 30.5702, 7.3697)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C30 #35309C
analogous
#9C6B30 #979C30 #619C30
triadic
#979C30 #30979C #9C3097
tetradic
#979C30 #309C6B #35309C #9C3061
square
#979C30 #309C6B #35309C #9C3061
split-complementary
#979C30 #30619C #6B309C
monochromatic
#3C3E13 #6A6D22 #979C30 #BFC544 #CFD473

Accessibility & contrast

On white

2.95
#979C30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#979C30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979C30
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979C30#FFFFFF#000000##000000
##979C301.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951F
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#A19286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c30;
/* rgb */ color: rgb(151, 156, 48);
/* oklch */ color: oklch(66.8% 0.128 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96f',
    500: '#979c30',
    950: '#000000',
  },
}
SCSS
$custom: #979c30;
$custom-light: #b9b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#979c30",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 48
  },
  "hsl": {
    "h": 62.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.66826,
    "c": 0.12844,
    "h": 112
  },
  "luminance": 0.3057
}

Semantic roles & 50–950 ramp

primary
#979C30
secondary
#706CBC
accent
#4BDC52
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979C30

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

Preview Lab → · Contrast checker → · Palette generator →

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