#979D1D#979D1D

#979D1D is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.9% C 0.140 H 112.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#979D1D
RGBrgb(151, 157, 29)
HSLhsl(63, 69%, 36%)
HSVhsv(63, 82%, 62%)
CMYKcmyk(3.8%, 0%, 81.5%, 38.4%)
CIE-LABlab(62.32, -17.06, 59.86)
CIE-LCHlch(62.32, 62.24, 105.91°)
OKLaboklab(66.94% -0.0537 0.1297)
OKLCHoklch(66.94% 0.14 112.5)
XYZxyz(25.0421, 30.7826, 5.7846)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D1D #231D9D
analogous
#9D631D #979D1D #579D1D
triadic
#979D1D #1D979D #9D1D97
tetradic
#979D1D #1D9D63 #231D9D #9D1D57
square
#979D1D #1D9D63 #231D9D #9D1D57
split-complementary
#979D1D #1D579D #631D9D
monochromatic
#34360A #656913 #979D1D #C9D127 #D9E055

Accessibility & contrast

On white

2.93
#979D1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#979D1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979D1D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979D1D#FFFFFF#000000##000000
##979D1D1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AA982A
Tritanopia (blue-blind)
#A29386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979d1d;
/* rgb */ color: rgb(151, 157, 29);
/* oklch */ color: oklch(66.9% 0.140 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9b966',
    500: '#979d1d',
    950: '#000000',
  },
}
SCSS
$custom: #979d1d;
$custom-light: #b9b966;
$custom-dark: #000000;
JSON
{
  "hex": "#979d1d",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 62.813,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66936,
    "c": 0.14038,
    "h": 112.5
  },
  "luminance": 0.30782
}

Semantic roles & 50–950 ramp

primary
#979D1D
secondary
#5853C3
accent
#3CEC44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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