#979A45#979A45

#979A45 is a light, moderate yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.109 H 110.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#979A45
RGBrgb(151, 154, 69)
HSLhsl(62, 38%, 44%)
HSVhsv(62, 55%, 60%)
CMYKcmyk(1.9%, 0%, 55.2%, 39.6%)
CIE-LABlab(61.76, -13.14, 43.52)
CIE-LCHlch(61.76, 45.45, 106.80°)
OKLaboklab(66.58% -0.0387 0.1015)
OKLCHoklch(66.58% 0.109 110.9)
XYZxyz(25.3929, 30.1207, 10.1053)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A45 #48459A
analogous
#9A7245 #979A45 #6C9A45
triadic
#979A45 #45979A #9A4597
tetradic
#979A45 #459A72 #48459A #9A456C
square
#979A45 #459A72 #48459A #9A456C
split-complementary
#979A45 #456C9A #72459A
monochromatic
#44451F #6E7032 #979A45 #B6B963 #CACC8D

Accessibility & contrast

On white

2.99
#979A45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#979A45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979A45
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A45#FFFFFF#000000##000000
##979A451.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5943C
Deuteranopia (green-blind)
#A5964A
Tritanopia (blue-blind)
#A09287
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979a45;
/* rgb */ color: rgb(151, 154, 69);
/* oklch */ color: oklch(66.6% 0.109 110.9);
Tailwind
colors: {
  custom: {
    50: '#b8b77c',
    500: '#979a45',
    950: '#000000',
  },
}
SCSS
$custom: #979a45;
$custom-light: #b8b77c;
$custom-dark: #000000;
JSON
{
  "hex": "#979a45",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 69
  },
  "hsl": {
    "h": 62.118,
    "s": 38.117,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.10862,
    "h": 110.9
  },
  "luminance": 0.3012
}

Semantic roles & 50–950 ramp

primary
#979A45
secondary
#8583B7
accent
#5ACE5E
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #979A45

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

Preview Lab → · Contrast checker → · Palette generator →

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