#979531#979531

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

Color values

HEX#979531
RGBrgb(151, 149, 49)
HSLhsl(59, 51%, 39%)
HSVhsv(59, 68%, 59%)
CMYKcmyk(0%, 1.3%, 67.5%, 40.8%)
CIE-LABlab(60.16, -11.94, 50.81)
CIE-LCHlch(60.16, 52.19, 103.23°)
OKLaboklab(65.24% -0.0375 0.1142)
OKLCHoklch(65.24% 0.12 108.2)
XYZxyz(24.0652, 28.2967, 7.0993)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979531 #313397
analogous
#976231 #979531 #669731
triadic
#979531 #319795 #953197
tetradic
#979531 #319762 #313397 #973166
square
#979531 #319762 #313397 #973166
split-complementary
#979531 #316697 #623197
monochromatic
#3B3A13 #696722 #979531 #C2C043 #D1CF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979531#FFFFFF#000000##000000
##9795311.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)
#A18F23
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#A28B81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979531;
/* rgb */ color: rgb(151, 149, 49);
/* oklch */ color: oklch(65.2% 0.120 108.2);
Tailwind
colors: {
  custom: {
    50: '#b8b36f',
    500: '#979531',
    950: '#000000',
  },
}
SCSS
$custom: #979531;
$custom-light: #b8b36f;
$custom-dark: #000000;
JSON
{
  "hex": "#979531",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 58.824,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65241,
    "c": 0.12018,
    "h": 108.2
  },
  "luminance": 0.28296
}

Semantic roles & 50–950 ramp

primary
#979531
secondary
#6B6CB9
accent
#50DA4D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979531

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

Preview Lab → · Contrast checker → · Palette generator →

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