#979D2A#979D2A

#979D2A is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.133 H 112.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#979D2A
RGBrgb(151, 157, 42)
HSLhsl(63, 58%, 39%)
HSVhsv(63, 73%, 62%)
CMYKcmyk(3.8%, 0%, 73.2%, 38.4%)
CIE-LABlab(62.39, -16.52, 55.74)
CIE-LCHlch(62.39, 58.13, 106.50°)
OKLaboklab(67.01% -0.051 0.1233)
OKLCHoklch(67.01% 0.133 112.5)
XYZxyz(25.2382, 30.8610, 6.8173)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D2A #302A9D
analogous
#9D6A2A #979D2A #5E9D2A
triadic
#979D2A #2A979D #9D2A97
tetradic
#979D2A #2A9D6A #302A9D #9D2A5E
square
#979D2A #2A9D6A #302A9D #9D2A5E
split-complementary
#979D2A #2A5E9D #6A2A9D
monochromatic
#3A3C10 #696D1D #979D2A #C3CA3A #D2D76A

Accessibility & contrast

On white

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

On black

7.17
#979D2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979D2A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979D2A#FFFFFF#000000##000000
##979D2A1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99614
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#A19387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979d2a;
/* rgb */ color: rgb(151, 157, 42);
/* oklch */ color: oklch(67.0% 0.133 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9b96c',
    500: '#979d2a',
    950: '#000000',
  },
}
SCSS
$custom: #979d2a;
$custom-light: #b9b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#979d2a",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 63.13,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67011,
    "c": 0.13349,
    "h": 112.5
  },
  "luminance": 0.3086
}

Semantic roles & 50–950 ramp

primary
#979D2A
secondary
#6A65BE
accent
#47E14F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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