#978922#978922

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

Color values

HEX#978922
RGBrgb(151, 137, 34)
HSLhsl(53, 63%, 36%)
HSVhsv(53, 77%, 59%)
CMYKcmyk(0%, 9.3%, 77.5%, 40.8%)
CIE-LABlab(56.67, -6.25, 53.20)
CIE-LCHlch(56.67, 53.57, 96.70°)
OKLaboklab(62.43% -0.0231 0.1164)
OKLCHoklch(62.43% 0.119 101.2)
XYZxyz(21.9979, 24.5871, 5.1001)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978922 #223097
analogous
#974F22 #978922 #6B9722
triadic
#978922 #229789 #892297
tetradic
#978922 #22974F #223097 #97226B
square
#978922 #22974F #223097 #97226B
split-complementary
#978922 #226B97 #4F2297
monochromatic
#332E0C #655C17 #978922 #C9B62D #DACA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978922#FFFFFF#000000##000000
##9789221.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)
#96850C
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#A37F75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978922;
/* rgb */ color: rgb(151, 137, 34);
/* oklch */ color: oklch(62.4% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#b9ab66',
    500: '#978922',
    950: '#000000',
  },
}
SCSS
$custom: #978922;
$custom-light: #b9ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#978922",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 52.821,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62435,
    "c": 0.11869,
    "h": 101.2
  },
  "luminance": 0.24586
}

Semantic roles & 50–950 ramp

primary
#978922
secondary
#5763BE
accent
#55E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978922

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

Preview Lab → · Contrast checker → · Palette generator →

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