#979B32#979B32

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

Color values

HEX#979B32
RGBrgb(151, 155, 50)
HSLhsl(62, 51%, 40%)
HSVhsv(62, 68%, 61%)
CMYKcmyk(2.6%, 0%, 67.7%, 39.2%)
CIE-LABlab(61.87, -15.04, 52.15)
CIE-LCHlch(61.87, 54.27, 106.09°)
OKLaboklab(66.61% -0.0461 0.1172)
OKLCHoklch(66.61% 0.126 111.5)
XYZxyz(25.0603, 30.2529, 7.5363)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979B32 #36329B
analogous
#9B6B32 #979B32 #629B32
triadic
#979B32 #32979B #9B3297
tetradic
#979B32 #329B6B #36329B #9B3262
square
#979B32 #329B6B #36329B #9B3262
split-complementary
#979B32 #32629B #6B329B
monochromatic
#3D3E14 #6A6D23 #979B32 #BFC447 #CFD275

Accessibility & contrast

On white

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

On black

7.05
#979B32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979B32
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979B32#FFFFFF#000000##000000
##979B321.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79423
Deuteranopia (green-blind)
#A79739
Tritanopia (blue-blind)
#A19286
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979b32;
/* rgb */ color: rgb(151, 155, 50);
/* oklch */ color: oklch(66.6% 0.126 111.5);
Tailwind
colors: {
  custom: {
    50: '#b8b870',
    500: '#979b32',
    950: '#000000',
  },
}
SCSS
$custom: #979b32;
$custom-light: #b8b870;
$custom-dark: #000000;
JSON
{
  "hex": "#979b32",
  "rgb": {
    "r": 151,
    "g": 155,
    "b": 50
  },
  "hsl": {
    "h": 62.286,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66613,
    "c": 0.12591,
    "h": 111.5
  },
  "luminance": 0.30252
}

Semantic roles & 50–950 ramp

primary
#979B32
secondary
#716EBB
accent
#4DDB53
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #979B32

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

Preview Lab → · Contrast checker → · Palette generator →

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