#978121#978121

#978121 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.113 H 95.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#978121
RGBrgb(151, 129, 33)
HSLhsl(49, 64%, 36%)
HSVhsv(49, 78%, 59%)
CMYKcmyk(0%, 14.6%, 78.1%, 40.8%)
CIE-LABlab(54.44, -1.88, 51.49)
CIE-LCHlch(54.44, 51.52, 92.09°)
OKLaboklab(60.66% -0.0108 0.1126)
OKLCHoklch(60.66% 0.113 95.5)
XYZxyz(20.8884, 22.3908, 4.6602)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978121 #213797
analogous
#974621 #978121 #729721
triadic
#978121 #219781 #812197
tetradic
#978121 #219746 #213797 #972172
square
#978121 #219746 #213797 #972172
split-complementary
#978121 #217297 #462197
monochromatic
#332B0B #655616 #978121 #C9AC2C #DAC258

Accessibility & contrast

On white

3.83
#978121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#978121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978121
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978121#FFFFFF#000000##000000
##9781211.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978121;
/* rgb */ color: rgb(151, 129, 33);
/* oklch */ color: oklch(60.7% 0.113 95.5);
Tailwind
colors: {
  custom: {
    50: '#b9a564',
    500: '#978121',
    950: '#000000',
  },
}
SCSS
$custom: #978121;
$custom-light: #b9a564;
$custom-dark: #000000;
JSON
{
  "hex": "#978121",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 48.814,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60664,
    "c": 0.11309,
    "h": 95.5
  },
  "luminance": 0.2239
}

Semantic roles & 50–950 ramp

primary
#978121
secondary
#5569BE
accent
#60E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978121

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

Preview Lab → · Contrast checker → · Palette generator →

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