#979532#979532

#979532 is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.2% C 0.119 H 108.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#979532
RGBrgb(151, 149, 50)
HSLhsl(59, 50%, 39%)
HSVhsv(59, 67%, 59%)
CMYKcmyk(0%, 1.3%, 66.9%, 40.8%)
CIE-LABlab(60.16, -11.88, 50.40)
CIE-LCHlch(60.16, 51.78, 103.27°)
OKLaboklab(65.25% -0.0372 0.1135)
OKLCHoklch(65.25% 0.119 108.2)
XYZxyz(24.0865, 28.3052, 7.2117)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979532 #323497
analogous
#976332 #979532 #679732
triadic
#979532 #329795 #953297
tetradic
#979532 #329763 #323497 #973267
square
#979532 #329763 #323497 #973267
split-complementary
#979532 #326797 #633297
monochromatic
#3B3A14 #696823 #979532 #C1BF45 #D1CF73

Accessibility & contrast

On white

3.15
#979532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#979532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979532
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979532#FFFFFF#000000##000000
##9795321.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F24
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#A28B81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979532;
/* rgb */ color: rgb(151, 149, 50);
/* oklch */ color: oklch(65.2% 0.119 108.2);
Tailwind
colors: {
  custom: {
    50: '#b8b370',
    500: '#979532',
    950: '#000000',
  },
}
SCSS
$custom: #979532;
$custom-light: #b8b370;
$custom-dark: #000000;
JSON
{
  "hex": "#979532",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 50
  },
  "hsl": {
    "h": 58.812,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65249,
    "c": 0.11943,
    "h": 108.2
  },
  "luminance": 0.28304
}

Semantic roles & 50–950 ramp

primary
#979532
secondary
#6C6EB9
accent
#51DA4E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979532

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

Preview Lab → · Contrast checker → · Palette generator →

#979532 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva