#978427#978427

#978427 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.112 H 97.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#978427
RGBrgb(151, 132, 39)
HSLhsl(50, 59%, 37%)
HSVhsv(50, 74%, 59%)
CMYKcmyk(0%, 12.6%, 74.2%, 40.8%)
CIE-LABlab(55.31, -3.27, 50.03)
CIE-LCHlch(55.31, 50.13, 93.74°)
OKLaboklab(61.36% -0.0141 0.1107)
OKLCHoklch(61.36% 0.112 97.3)
XYZxyz(21.3810, 23.2294, 5.2766)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978427 #273A97
analogous
#974C27 #978427 #729727
triadic
#978427 #279784 #842797
tetradic
#978427 #27974C #273A97 #972772
square
#978427 #27974C #273A97 #972772
split-complementary
#978427 #277297 #4C2797
monochromatic
#362F0E #66591A #978427 #C8AF34 #D6C362

Accessibility & contrast

On white

3.72
#978427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#978427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978427
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978427#FFFFFF#000000##000000
##9784271.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978427;
/* rgb */ color: rgb(151, 132, 39);
/* oklch */ color: oklch(61.4% 0.112 97.3);
Tailwind
colors: {
  custom: {
    50: '#b9a768',
    500: '#978427',
    950: '#000000',
  },
}
SCSS
$custom: #978427;
$custom-light: #b9a768;
$custom-dark: #000000;
JSON
{
  "hex": "#978427",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 49.821,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.11159,
    "h": 97.3
  },
  "luminance": 0.23228
}

Semantic roles & 50–950 ramp

primary
#978427
secondary
#5E6EBC
accent
#60E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978427

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

Preview Lab → · Contrast checker → · Palette generator →

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