#979727#979727

#979727 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.6% C 0.129 H 109.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#979727
RGBrgb(151, 151, 39)
HSLhsl(60, 59%, 37%)
HSVhsv(60, 74%, 59%)
CMYKcmyk(0%, 0%, 74.2%, 40.8%)
CIE-LABlab(60.66, -13.53, 55.16)
CIE-LCHlch(60.66, 56.80, 103.78°)
OKLaboklab(65.62% -0.043 0.1216)
OKLCHoklch(65.62% 0.129 109.5)
XYZxyz(24.1962, 28.8597, 6.2150)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979727 #272797
analogous
#975F27 #979727 #5F9727
triadic
#979727 #279797 #972797
tetradic
#979727 #27975F #272797 #97275F
square
#979727 #27975F #272797 #97275F
split-complementary
#979727 #275F97 #5F2797
monochromatic
#36360E #66661A #979727 #C8C834 #D6D662

Accessibility & contrast

On white

3.10
#979727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#979727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979727
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979727#FFFFFF#000000##000000
##9797271.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39010
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#A28D82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #979727;
/* rgb */ color: rgb(151, 151, 39);
/* oklch */ color: oklch(65.6% 0.129 109.5);
Tailwind
colors: {
  custom: {
    50: '#b9b56a',
    500: '#979727',
    950: '#000000',
  },
}
SCSS
$custom: #979727;
$custom-light: #b9b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#979727",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.6562,
    "c": 0.12895,
    "h": 109.5
  },
  "luminance": 0.28859
}

Semantic roles & 50–950 ramp

primary
#979727
secondary
#5E5EBC
accent
#46E246
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979727

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

Preview Lab → · Contrast checker → · Palette generator →

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