#979C2D#979C2D

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

Color values

HEX#979C2D
RGBrgb(151, 156, 45)
HSLhsl(63, 55%, 39%)
HSVhsv(63, 71%, 61%)
CMYKcmyk(3.2%, 0%, 71.2%, 38.8%)
CIE-LABlab(62.12, -15.84, 54.37)
CIE-LCHlch(62.12, 56.63, 106.25°)
OKLaboklab(66.8% -0.0489 0.121)
OKLCHoklch(66.8% 0.13 112)
XYZxyz(25.1254, 30.5463, 7.0546)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C2D #322D9C
analogous
#9C6A2D #979C2D #609C2D
triadic
#979C2D #2D979C #9C2D97
tetradic
#979C2D #2D9C6A #322D9C #9C2D60
square
#979C2D #2D9C6A #322D9C #9C2D60
split-complementary
#979C2D #2D609C #6A2D9C
monochromatic
#3B3D12 #696D1F #979C2D #C1C83F #D1D56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979C2D#FFFFFF#000000##000000
##979C2D1.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)
#A8951A
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#A19286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c2d;
/* rgb */ color: rgb(151, 156, 45);
/* oklch */ color: oklch(66.8% 0.130 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96e',
    500: '#979c2d',
    950: '#000000',
  },
}
SCSS
$custom: #979c2d;
$custom-light: #b9b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#979c2d",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 62.703,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66803,
    "c": 0.13048,
    "h": 112
  },
  "luminance": 0.30546
}

Semantic roles & 50–950 ramp

primary
#979C2D
secondary
#6C68BC
accent
#49DF50
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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