#979427#979427

#979427 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.9% C 0.126 H 107.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#979427
RGBrgb(151, 148, 39)
HSLhsl(58, 59%, 37%)
HSVhsv(58, 74%, 59%)
CMYKcmyk(0%, 2%, 74.2%, 40.8%)
CIE-LABlab(59.80, -11.95, 54.35)
CIE-LCHlch(59.80, 55.65, 102.40°)
OKLaboklab(64.94% -0.0386 0.1199)
OKLCHoklch(64.94% 0.126 107.8)
XYZxyz(23.7195, 27.9064, 6.0561)
Luminance0.2791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979427 #272A97
analogous
#975C27 #979427 #629727
triadic
#979427 #279794 #942797
tetradic
#979427 #27975C #272A97 #972762
square
#979427 #27975C #272A97 #972762
split-complementary
#979427 #276297 #5C2797
monochromatic
#36350E #66641A #979427 #C8C434 #D6D362

Accessibility & contrast

On white

3.19
#979427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#979427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979427
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979427#FFFFFF#000000##000000
##9794271.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E12
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#A28A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #979427;
/* rgb */ color: rgb(151, 148, 39);
/* oklch */ color: oklch(64.9% 0.126 107.8);
Tailwind
colors: {
  custom: {
    50: '#b9b36a',
    500: '#979427',
    950: '#000000',
  },
}
SCSS
$custom: #979427;
$custom-light: #b9b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#979427",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 39
  },
  "hsl": {
    "h": 58.393,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64938,
    "c": 0.12592,
    "h": 107.8
  },
  "luminance": 0.27906
}

Semantic roles & 50–950 ramp

primary
#979427
secondary
#5E60BC
accent
#4AE246
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121107
muted
#81807A

Preview Lab

Preview with #979427

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

Preview Lab → · Contrast checker → · Palette generator →

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