#978929#978929

#978929 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.114 H 100.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#978929
RGBrgb(151, 137, 41)
HSLhsl(52, 57%, 38%)
HSVhsv(52, 73%, 59%)
CMYKcmyk(0%, 9.3%, 72.8%, 40.8%)
CIE-LABlab(56.71, -5.92, 50.61)
CIE-LCHlch(56.71, 50.95, 96.67°)
OKLaboklab(62.48% -0.0214 0.1123)
OKLCHoklch(62.48% 0.114 100.8)
XYZxyz(22.1094, 24.6317, 5.6872)
Luminance0.2463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978929 #293797
analogous
#975229 #978929 #6E9729
triadic
#978929 #299789 #892997
tetradic
#978929 #299752 #293797 #97296E
square
#978929 #299752 #293797 #97296E
split-complementary
#978929 #296E97 #522997
monochromatic
#37320F #675D1C #978929 #C7B536 #D5C765

Accessibility & contrast

On white

3.54
#978929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#978929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978929
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978929#FFFFFF#000000##000000
##9789291.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851A
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#A37F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978929;
/* rgb */ color: rgb(151, 137, 41);
/* oklch */ color: oklch(62.5% 0.114 100.8);
Tailwind
colors: {
  custom: {
    50: '#b9ab69',
    500: '#978929',
    950: '#000000',
  },
}
SCSS
$custom: #978929;
$custom-light: #b9ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#978929",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 52.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62484,
    "c": 0.11434,
    "h": 100.8
  },
  "luminance": 0.24631
}

Semantic roles & 50–950 ramp

primary
#978929
secondary
#616CBB
accent
#5BE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978929

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

Preview Lab → · Contrast checker → · Palette generator →

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