#979B3A#979B3A

#979B3A is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.7% C 0.120 H 111.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#979B3A
RGBrgb(151, 155, 58)
HSLhsl(62, 46%, 42%)
HSVhsv(62, 63%, 61%)
CMYKcmyk(2.6%, 0%, 62.6%, 39.2%)
CIE-LABlab(61.94, -14.52, 48.81)
CIE-LCHlch(61.94, 50.92, 106.56°)
OKLaboklab(66.69% -0.0438 0.1114)
OKLCHoklch(66.69% 0.12 111.5)
XYZxyz(25.2483, 30.3281, 8.5260)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979B3A #3E3A9B
analogous
#9B6F3A #979B3A #679B3A
triadic
#979B3A #3A979B #9B3A97
tetradic
#979B3A #3A9B6F #3E3A9B #9B3A67
square
#979B3A #3A9B6F #3E3A9B #9B3A67
split-complementary
#979B3A #3A679B #6F3A9B
monochromatic
#404219 #6C6E29 #979B3A #BABF53 #CCCF80

Accessibility & contrast

On white

2.97
#979B3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#979B3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979B3A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979B3A#FFFFFF#000000##000000
##979B3A1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942E
Deuteranopia (green-blind)
#A79740
Tritanopia (blue-blind)
#A19287
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979b3a;
/* rgb */ color: rgb(151, 155, 58);
/* oklch */ color: oklch(66.7% 0.120 111.5);
Tailwind
colors: {
  custom: {
    50: '#b8b875',
    500: '#979b3a',
    950: '#000000',
  },
}
SCSS
$custom: #979b3a;
$custom-light: #b8b875;
$custom-dark: #000000;
JSON
{
  "hex": "#979b3a",
  "rgb": {
    "r": 151,
    "g": 155,
    "b": 58
  },
  "hsl": {
    "h": 62.474,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66686,
    "c": 0.11966,
    "h": 111.5
  },
  "luminance": 0.30327
}

Semantic roles & 50–950 ramp

primary
#979B3A
secondary
#7A78B9
accent
#53D558
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #979B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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