#978820#978820

#978820 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.119 H 100.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#978820
RGBrgb(151, 136, 32)
HSLhsl(52, 65%, 36%)
HSVhsv(52, 79%, 59%)
CMYKcmyk(0%, 9.9%, 78.8%, 40.8%)
CIE-LABlab(56.38, -5.79, 53.63)
CIE-LCHlch(56.38, 53.94, 96.16°)
OKLaboklab(62.2% -0.0219 0.1169)
OKLCHoklch(62.2% 0.119 100.6)
XYZxyz(21.8284, 24.2930, 4.9055)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978820 #202F97
analogous
#974C20 #978820 #6A9720
triadic
#978820 #209788 #882097
tetradic
#978820 #20974C #202F97 #97206A
square
#978820 #20974C #202F97 #97206A
split-complementary
#978820 #206A97 #4C2097
monochromatic
#322D0B #645B15 #978820 #C9B52B #DBCA56

Accessibility & contrast

On white

3.58
#978820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#978820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978820
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978820#FFFFFF#000000##000000
##9788201.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968407
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#A37E74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978820;
/* rgb */ color: rgb(151, 136, 32);
/* oklch */ color: oklch(62.2% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#b9aa65',
    500: '#978820',
    950: '#000000',
  },
}
SCSS
$custom: #978820;
$custom-light: #b9aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#978820",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 52.437,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.622,
    "c": 0.11898,
    "h": 100.6
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#978820
secondary
#5461BF
accent
#55E840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978820

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

Preview Lab → · Contrast checker → · Palette generator →

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