#979627#979627

#979627 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.4% C 0.128 H 108.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#979627
RGBrgb(151, 150, 39)
HSLhsl(59, 59%, 37%)
HSVhsv(59, 74%, 59%)
CMYKcmyk(0%, 0.7%, 74.2%, 40.8%)
CIE-LABlab(60.37, -13.01, 54.89)
CIE-LCHlch(60.37, 56.41, 103.33°)
OKLaboklab(65.39% -0.0415 0.121)
OKLCHoklch(65.39% 0.128 108.9)
XYZxyz(24.0359, 28.5392, 6.1616)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979627 #272897
analogous
#975E27 #979627 #609727
triadic
#979627 #279796 #962797
tetradic
#979627 #27975E #272897 #972760
square
#979627 #27975E #272897 #972760
split-complementary
#979627 #276097 #5E2797
monochromatic
#36350E #66661A #979627 #C8C634 #D6D562

Accessibility & contrast

On white

3.13
#979627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#979627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979627
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979627#FFFFFF#000000##000000
##9796271.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39011
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#A28C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #979627;
/* rgb */ color: rgb(151, 150, 39);
/* oklch */ color: oklch(65.4% 0.128 108.9);
Tailwind
colors: {
  custom: {
    50: '#b9b46a',
    500: '#979627',
    950: '#000000',
  },
}
SCSS
$custom: #979627;
$custom-light: #b9b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#979627",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 59.464,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65392,
    "c": 0.12793,
    "h": 108.9
  },
  "luminance": 0.28538
}

Semantic roles & 50–950 ramp

primary
#979627
secondary
#5E5FBC
accent
#47E246
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979627

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

Preview Lab → · Contrast checker → · Palette generator →

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