#979E1A#979E1A

#979E1A is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.143 H 112.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#979E1A
RGBrgb(151, 158, 26)
HSLhsl(63, 72%, 36%)
HSVhsv(63, 84%, 62%)
CMYKcmyk(4.4%, 0%, 83.5%, 38%)
CIE-LABlab(62.60, -17.68, 60.89)
CIE-LCHlch(62.60, 63.41, 106.19°)
OKLaboklab(67.15% -0.0556 0.1314)
OKLCHoklch(67.15% 0.143 112.9)
XYZxyz(25.1767, 31.1082, 5.6553)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E1A #211A9E
analogous
#9E631A #979E1A #559E1A
triadic
#979E1A #1A979E #9E1A97
tetradic
#979E1A #1A9E63 #211A9E #9E1A55
square
#979E1A #1A9E63 #211A9E #9E1A55
split-complementary
#979E1A #1A559E #631A9E
monochromatic
#333509 #656911 #979E1A #C9D323 #DAE250

Accessibility & contrast

On white

2.91
#979E1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#979E1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E1A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E1A#FFFFFF#000000##000000
##979E1A1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB9928
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979e1a;
/* rgb */ color: rgb(151, 158, 26);
/* oklch */ color: oklch(67.2% 0.143 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9ba65',
    500: '#979e1a',
    950: '#000000',
  },
}
SCSS
$custom: #979e1a;
$custom-light: #b9ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#979e1a",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 63.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.14268,
    "h": 112.9
  },
  "luminance": 0.31108
}

Semantic roles & 50–950 ramp

primary
#979E1A
secondary
#554FC5
accent
#39EE43
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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