#979C27#979C27

#979C27 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#979C27
RGBrgb(151, 156, 39)
HSLhsl(63, 60%, 38%)
HSVhsv(63, 75%, 61%)
CMYKcmyk(3.2%, 0%, 75%, 38.8%)
CIE-LABlab(62.09, -16.14, 56.51)
CIE-LCHlch(62.09, 58.77, 105.94°)
OKLaboklab(66.76% -0.0503 0.1244)
OKLCHoklch(66.76% 0.134 112)
XYZxyz(25.0180, 30.5033, 6.4889)
Luminance0.3050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C27 #2C279C
analogous
#9C6627 #979C27 #5C9C27
triadic
#979C27 #27979C #9C2797
tetradic
#979C27 #279C66 #2C279C #9C275C
square
#979C27 #279C66 #2C279C #9C275C
split-complementary
#979C27 #275C9C #66279C
monochromatic
#383A0F #686B1B #979C27 #C6CC34 #D4D865

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #979c27;
/* rgb */ color: rgb(151, 156, 39);
/* oklch */ color: oklch(66.8% 0.134 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96b',
    500: '#979c27',
    950: '#000000',
  },
}
SCSS
$custom: #979c27;
$custom-light: #b9b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#979c27",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 62.564,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66762,
    "c": 0.13421,
    "h": 112
  },
  "luminance": 0.30503
}

Semantic roles & 50–950 ramp

primary
#979C27
secondary
#6561BE
accent
#45E34B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979C27

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

Preview Lab → · Contrast checker → · Palette generator →

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