#979B2D#979B2D

#979B2D is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.6% C 0.129 H 111.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#979B2D
RGBrgb(151, 155, 45)
HSLhsl(62, 55%, 39%)
HSVhsv(62, 71%, 61%)
CMYKcmyk(2.6%, 0%, 71%, 39.2%)
CIE-LABlab(61.84, -15.32, 54.09)
CIE-LCHlch(61.84, 56.21, 105.82°)
OKLaboklab(66.57% -0.0474 0.1204)
OKLCHoklch(66.57% 0.129 111.5)
XYZxyz(24.9583, 30.2121, 6.9989)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979B2D #312D9B
analogous
#9B682D #979B2D #609B2D
triadic
#979B2D #2D979B #9B2D97
tetradic
#979B2D #2D9B68 #312D9B #9B2D60
square
#979B2D #2D9B68 #312D9B #9B2D60
split-complementary
#979B2D #2D609B #682D9B
monochromatic
#3B3C11 #696C1F #979B2D #C2C73E #D1D56E

Accessibility & contrast

On white

2.98
#979B2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#979B2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979B2D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979B2D#FFFFFF#000000##000000
##979B2D1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941A
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#A19185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979b2d;
/* rgb */ color: rgb(151, 155, 45);
/* oklch */ color: oklch(66.6% 0.129 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b86d',
    500: '#979b2d',
    950: '#000000',
  },
}
SCSS
$custom: #979b2d;
$custom-light: #b9b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#979b2d",
  "rgb": {
    "r": 151,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 62.182,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66574,
    "c": 0.1294,
    "h": 111.5
  },
  "luminance": 0.30211
}

Semantic roles & 50–950 ramp

primary
#979B2D
secondary
#6B68BC
accent
#49DE4F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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