#978322#978322

#978322 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.114 H 96.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#978322
RGBrgb(151, 131, 34)
HSLhsl(50, 63%, 36%)
HSVhsv(50, 77%, 59%)
CMYKcmyk(0%, 13.2%, 77.5%, 40.8%)
CIE-LABlab(55.00, -2.95, 51.64)
CIE-LCHlch(55.00, 51.73, 93.27°)
OKLaboklab(61.11% -0.0137 0.1131)
OKLCHoklch(61.11% 0.114 96.9)
XYZxyz(21.1686, 22.9285, 4.8237)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978322 #223697
analogous
#974922 #978322 #719722
triadic
#978322 #229783 #832297
tetradic
#978322 #229749 #223697 #972271
square
#978322 #229749 #223697 #972271
split-complementary
#978322 #227197 #492297
monochromatic
#332C0C #655817 #978322 #C9AE2D #DAC45A

Accessibility & contrast

On white

3.76
#978322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#978322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978322
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978322#FFFFFF#000000##000000
##9783221.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#A37870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978322;
/* rgb */ color: rgb(151, 131, 34);
/* oklch */ color: oklch(61.1% 0.114 96.9);
Tailwind
colors: {
  custom: {
    50: '#b9a665',
    500: '#978322',
    950: '#000000',
  },
}
SCSS
$custom: #978322;
$custom-light: #b9a665;
$custom-dark: #000000;
JSON
{
  "hex": "#978322",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 49.744,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61109,
    "c": 0.11395,
    "h": 96.9
  },
  "luminance": 0.22927
}

Semantic roles & 50–950 ramp

primary
#978322
secondary
#5768BE
accent
#5EE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978322

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

Preview Lab → · Contrast checker → · Palette generator →

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