#979C1E#979C1E

#979C1E is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.7% C 0.139 H 112.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#979C1E
RGBrgb(151, 156, 30)
HSLhsl(62, 68%, 36%)
HSVhsv(62, 81%, 61%)
CMYKcmyk(3.2%, 0%, 80.8%, 38.8%)
CIE-LABlab(62.04, -16.51, 59.32)
CIE-LCHlch(62.04, 61.58, 105.55°)
OKLaboklab(66.71% -0.0521 0.1288)
OKLCHoklch(66.71% 0.139 112)
XYZxyz(24.8862, 30.4506, 5.7947)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C1E #231E9C
analogous
#9C621E #979C1E #589C1E
triadic
#979C1E #1E979C #9C1E97
tetradic
#979C1E #1E9C62 #231E9C #9C1E58
square
#979C1E #1E9C62 #231E9C #9C1E58
split-complementary
#979C1E #1E589C #621E9C
monochromatic
#34350A #656914 #979C1E #C9CF28 #D9DE56

Accessibility & contrast

On white

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

On black

7.09
#979C1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979C1E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979C1E#FFFFFF#000000##000000
##979C1E1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#A29285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c1e;
/* rgb */ color: rgb(151, 156, 30);
/* oklch */ color: oklch(66.7% 0.139 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b967',
    500: '#979c1e',
    950: '#000000',
  },
}
SCSS
$custom: #979c1e;
$custom-light: #b9b967;
$custom-dark: #000000;
JSON
{
  "hex": "#979c1e",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 30
  },
  "hsl": {
    "h": 62.381,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66712,
    "c": 0.13888,
    "h": 112
  },
  "luminance": 0.3045
}

Semantic roles & 50–950 ramp

primary
#979C1E
secondary
#5854C2
accent
#3DEB44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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