#979F1A#979F1A

#979F1A is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.4% C 0.144 H 113.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#979F1A
RGBrgb(151, 159, 26)
HSLhsl(64, 72%, 36%)
HSVhsv(64, 84%, 62%)
CMYKcmyk(5%, 0%, 83.6%, 37.6%)
CIE-LABlab(62.89, -18.19, 61.14)
CIE-LCHlch(62.89, 63.79, 106.57°)
OKLaboklab(67.38% -0.057 0.132)
OKLCHoklch(67.38% 0.144 113.4)
XYZxyz(25.3479, 31.4507, 5.7124)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F1A #221A9F
analogous
#9F651A #979F1A #559F1A
triadic
#979F1A #1A979F #9F1A97
tetradic
#979F1A #1A9F65 #221A9F #9F1A55
square
#979F1A #1A9F65 #221A9F #9F1A55
split-complementary
#979F1A #1A559F #651A9F
monochromatic
#333609 #656A11 #979F1A #C9D423 #DAE351

Accessibility & contrast

On white

2.88
#979F1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#979F1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F1A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F1A#FFFFFF#000000##000000
##979F1A1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AB9928
Tritanopia (blue-blind)
#A29588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f1a;
/* rgb */ color: rgb(151, 159, 26);
/* oklch */ color: oklch(67.4% 0.144 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb65',
    500: '#979f1a',
    950: '#000000',
  },
}
SCSS
$custom: #979f1a;
$custom-light: #b9bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#979f1a",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 63.609,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67384,
    "c": 0.14373,
    "h": 113.4
  },
  "luminance": 0.3145
}

Semantic roles & 50–950 ramp

primary
#979F1A
secondary
#5750C5
accent
#39EF44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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