#978927#978927

#978927 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.116 H 100.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#978927
RGBrgb(151, 137, 39)
HSLhsl(53, 59%, 37%)
HSVhsv(53, 74%, 59%)
CMYKcmyk(0%, 9.3%, 74.2%, 40.8%)
CIE-LABlab(56.70, -6.02, 51.38)
CIE-LCHlch(56.70, 51.73, 96.69°)
OKLaboklab(62.47% -0.0219 0.1136)
OKLCHoklch(62.47% 0.116 100.9)
XYZxyz(22.0754, 24.6181, 5.5080)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978927 #273597
analogous
#975127 #978927 #6D9727
triadic
#978927 #279789 #892797
tetradic
#978927 #279751 #273597 #97276D
square
#978927 #279751 #273597 #97276D
split-complementary
#978927 #276D97 #512797
monochromatic
#36310E #665D1A #978927 #C8B534 #D6C862

Accessibility & contrast

On white

3.55
#978927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#978927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978927
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978927#FFFFFF#000000##000000
##9789271.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968516
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#A37F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978927;
/* rgb */ color: rgb(151, 137, 39);
/* oklch */ color: oklch(62.5% 0.116 100.9);
Tailwind
colors: {
  custom: {
    50: '#b9ab68',
    500: '#978927',
    950: '#000000',
  },
}
SCSS
$custom: #978927;
$custom-light: #b9ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#978927",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 39
  },
  "hsl": {
    "h": 52.5,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.11565,
    "h": 100.9
  },
  "luminance": 0.24617
}

Semantic roles & 50–950 ramp

primary
#978927
secondary
#5E6ABC
accent
#59E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978927

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

Preview Lab → · Contrast checker → · Palette generator →

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