#979C1C#979C1C

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

Color values

HEX#979C1C
RGBrgb(151, 156, 28)
HSLhsl(62, 70%, 36%)
HSVhsv(62, 82%, 61%)
CMYKcmyk(3.2%, 0%, 82.1%, 38.8%)
CIE-LABlab(62.03, -16.58, 59.88)
CIE-LCHlch(62.03, 62.13, 105.48°)
OKLaboklab(66.7% -0.0524 0.1296)
OKLCHoklch(66.7% 0.14 112)
XYZxyz(24.8614, 30.4407, 5.6644)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C1C #211C9C
analogous
#9C611C #979C1C #579C1C
triadic
#979C1C #1C979C #9C1C97
tetradic
#979C1C #1C9C61 #211C9C #9C1C57
square
#979C1C #1C9C61 #211C9C #9C1C57
split-complementary
#979C1C #1C579C #611C9C
monochromatic
#333409 #656813 #979C1C #C9D025 #DAE052

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979C1C#FFFFFF#000000##000000
##979C1C1.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)
#A99729
Tritanopia (blue-blind)
#A29285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c1c;
/* rgb */ color: rgb(151, 156, 28);
/* oklch */ color: oklch(66.7% 0.140 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b966',
    500: '#979c1c',
    950: '#000000',
  },
}
SCSS
$custom: #979c1c;
$custom-light: #b9b966;
$custom-dark: #000000;
JSON
{
  "hex": "#979c1c",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 28
  },
  "hsl": {
    "h": 62.344,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66702,
    "c": 0.13978,
    "h": 112
  },
  "luminance": 0.3044
}

Semantic roles & 50–950 ramp

primary
#979C1C
secondary
#5551C3
accent
#3BEC42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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