#979327#979327

#979327 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.7% C 0.125 H 107.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#979327
RGBrgb(151, 147, 39)
HSLhsl(58, 59%, 37%)
HSVhsv(58, 74%, 59%)
CMYKcmyk(0%, 2.6%, 74.2%, 40.8%)
CIE-LABlab(59.52, -11.42, 54.08)
CIE-LCHlch(59.52, 55.27, 101.92°)
OKLaboklab(64.71% -0.0371 0.1193)
OKLCHoklch(64.71% 0.125 107.3)
XYZxyz(23.5633, 27.5940, 6.0040)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979327 #272B97
analogous
#975B27 #979327 #639727
triadic
#979327 #279793 #932797
tetradic
#979327 #27975B #272B97 #972763
square
#979327 #27975B #272B97 #972763
split-complementary
#979327 #276397 #5B2797
monochromatic
#36340E #66641A #979327 #C8C234 #D6D262

Accessibility & contrast

On white

3.22
#979327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#979327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979327
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979327#FFFFFF#000000##000000
##9793271.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D12
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#A2897E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #979327;
/* rgb */ color: rgb(151, 147, 39);
/* oklch */ color: oklch(64.7% 0.125 107.3);
Tailwind
colors: {
  custom: {
    50: '#b9b269',
    500: '#979327',
    950: '#000000',
  },
}
SCSS
$custom: #979327;
$custom-light: #b9b269;
$custom-dark: #000000;
JSON
{
  "hex": "#979327",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 39
  },
  "hsl": {
    "h": 57.857,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64712,
    "c": 0.12492,
    "h": 107.3
  },
  "luminance": 0.27593
}

Semantic roles & 50–950 ramp

primary
#979327
secondary
#5E61BC
accent
#4BE246
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #979327

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

Preview Lab → · Contrast checker → · Palette generator →

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