#979121#979121

#979121 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.2% C 0.126 H 106.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#979121
RGBrgb(151, 145, 33)
HSLhsl(57, 64%, 36%)
HSVhsv(57, 78%, 59%)
CMYKcmyk(0%, 4%, 78.1%, 40.8%)
CIE-LABlab(58.92, -10.61, 55.61)
CIE-LCHlch(58.92, 56.61, 100.81°)
OKLaboklab(64.22% -0.0354 0.1214)
OKLCHoklch(64.22% 0.126 106.3)
XYZxyz(23.1634, 26.9408, 5.4185)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979121 #212797
analogous
#975621 #979121 #629721
triadic
#979121 #219791 #912197
tetradic
#979121 #219756 #212797 #972162
square
#979121 #219756 #212797 #972162
split-complementary
#979121 #216297 #562197
monochromatic
#33310B #656116 #979121 #C9C12C #DAD458

Accessibility & contrast

On white

3.29
#979121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#979121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979121
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979121#FFFFFF#000000##000000
##9791211.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B04
Deuteranopia (green-blind)
#A0902A
Tritanopia (blue-blind)
#A3877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #979121;
/* rgb */ color: rgb(151, 145, 33);
/* oklch */ color: oklch(64.2% 0.126 106.3);
Tailwind
colors: {
  custom: {
    50: '#b9b066',
    500: '#979121',
    950: '#000000',
  },
}
SCSS
$custom: #979121;
$custom-light: #b9b066;
$custom-dark: #000000;
JSON
{
  "hex": "#979121",
  "rgb": {
    "r": 151,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 56.949,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64222,
    "c": 0.12643,
    "h": 106.3
  },
  "luminance": 0.2694
}

Semantic roles & 50–950 ramp

primary
#979121
secondary
#555BBE
accent
#49E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #979121

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

Preview Lab → · Contrast checker → · Palette generator →

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