#979D19#979D19

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

Color values

HEX#979D19
RGBrgb(151, 157, 25)
HSLhsl(63, 73%, 36%)
HSVhsv(63, 84%, 62%)
CMYKcmyk(3.8%, 0%, 84.1%, 38.4%)
CIE-LABlab(62.31, -17.19, 60.90)
CIE-LCHlch(62.31, 63.28, 105.77°)
OKLaboklab(66.92% -0.0543 0.1313)
OKLCHoklch(66.92% 0.142 112.5)
XYZxyz(24.9958, 30.7641, 5.5409)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D19 #1F199D
analogous
#9D6119 #979D19 #559D19
triadic
#979D19 #19979D #9D1997
tetradic
#979D19 #199D61 #1F199D #9D1955
square
#979D19 #199D61 #1F199D #9D1955
split-complementary
#979D19 #19559D #61199D
monochromatic
#313308 #646811 #979D19 #CAD221 #DCE34E

Accessibility & contrast

On white

2.94
#979D19 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#979D19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979D19
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979D19#FFFFFF#000000##000000
##979D191.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979d19;
/* rgb */ color: rgb(151, 157, 25);
/* oklch */ color: oklch(66.9% 0.142 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9b965',
    500: '#979d19',
    950: '#000000',
  },
}
SCSS
$custom: #979d19;
$custom-light: #b9b965;
$custom-dark: #000000;
JSON
{
  "hex": "#979d19",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 25
  },
  "hsl": {
    "h": 62.727,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.66919,
    "c": 0.14204,
    "h": 112.5
  },
  "luminance": 0.30763
}

Semantic roles & 50–950 ramp

primary
#979D19
secondary
#524DC5
accent
#39EF41
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979D19

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

Preview Lab → · Contrast checker → · Palette generator →

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