#978920#978920

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

Color values

HEX#978920
RGBrgb(151, 137, 32)
HSLhsl(53, 65%, 36%)
HSVhsv(53, 79%, 59%)
CMYKcmyk(0%, 9.3%, 78.8%, 40.8%)
CIE-LABlab(56.66, -6.33, 53.88)
CIE-LCHlch(56.66, 54.25, 96.70°)
OKLaboklab(62.42% -0.0235 0.1175)
OKLCHoklch(62.42% 0.12 101.3)
XYZxyz(21.9699, 24.5759, 4.9526)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978920 #202E97
analogous
#974D20 #978920 #699720
triadic
#978920 #209789 #892097
tetradic
#978920 #20974D #202E97 #972069
square
#978920 #20974D #202E97 #972069
split-complementary
#978920 #206997 #4D2097
monochromatic
#322D0B #645B15 #978920 #C9B72B #DBCC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978920#FFFFFF#000000##000000
##9789201.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)
#978506
Deuteranopia (green-blind)
#9B8A28
Tritanopia (blue-blind)
#A37F75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978920;
/* rgb */ color: rgb(151, 137, 32);
/* oklch */ color: oklch(62.4% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#b9ab65',
    500: '#978920',
    950: '#000000',
  },
}
SCSS
$custom: #978920;
$custom-light: #b9ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#978920",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 52.941,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62423,
    "c": 0.1198,
    "h": 101.3
  },
  "luminance": 0.24575
}

Semantic roles & 50–950 ramp

primary
#978920
secondary
#5460BF
accent
#54E840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978920

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

Preview Lab → · Contrast checker → · Palette generator →

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