#979527#979527

#979527 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.2% C 0.127 H 108.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#979527
RGBrgb(151, 149, 39)
HSLhsl(59, 59%, 37%)
HSVhsv(59, 74%, 59%)
CMYKcmyk(0%, 1.3%, 74.2%, 40.8%)
CIE-LABlab(60.09, -12.48, 54.62)
CIE-LCHlch(60.09, 56.03, 102.87°)
OKLaboklab(65.16% -0.0401 0.1204)
OKLCHoklch(65.16% 0.127 108.4)
XYZxyz(23.8771, 28.2215, 6.1086)
Luminance0.2822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979527 #272997
analogous
#975D27 #979527 #619727
triadic
#979527 #279795 #952797
tetradic
#979527 #27975D #272997 #972761
square
#979527 #27975D #272997 #972761
split-complementary
#979527 #276197 #5D2797
monochromatic
#36350E #66651A #979527 #C8C534 #D6D462

Accessibility & contrast

On white

3.16
#979527 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#979527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979527
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979527#FFFFFF#000000##000000
##9795271.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#A3932F
Tritanopia (blue-blind)
#A28B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979527;
/* rgb */ color: rgb(151, 149, 39);
/* oklch */ color: oklch(65.2% 0.127 108.4);
Tailwind
colors: {
  custom: {
    50: '#b9b36a',
    500: '#979527',
    950: '#000000',
  },
}
SCSS
$custom: #979527;
$custom-light: #b9b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#979527",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 58.929,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65165,
    "c": 0.12692,
    "h": 108.4
  },
  "luminance": 0.28221
}

Semantic roles & 50–950 ramp

primary
#979527
secondary
#5E60BC
accent
#48E246
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979527

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

Preview Lab → · Contrast checker → · Palette generator →

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