#978D29#978D29

#978D29 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.118 H 103.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#978D29
RGBrgb(151, 141, 41)
HSLhsl(55, 57%, 38%)
HSVhsv(55, 73%, 59%)
CMYKcmyk(0%, 6.6%, 72.8%, 40.8%)
CIE-LABlab(57.84, -8.10, 51.71)
CIE-LCHlch(57.84, 52.34, 98.90°)
OKLaboklab(63.38% -0.0275 0.1146)
OKLCHoklch(63.38% 0.118 103.5)
XYZxyz(22.6886, 25.7901, 5.8803)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D29 #293397
analogous
#975629 #978D29 #6A9729
triadic
#978D29 #29978D #8D2997
tetradic
#978D29 #299756 #293397 #97296A
square
#978D29 #299756 #293397 #97296A
split-complementary
#978D29 #296A97 #562997
monochromatic
#37330F #67601C #978D29 #C7BA36 #D5CB65

Accessibility & contrast

On white

3.41
#978D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#978D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D29
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D29#FFFFFF#000000##000000
##978D291.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8818
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#A38379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d29;
/* rgb */ color: rgb(151, 141, 41);
/* oklch */ color: oklch(63.4% 0.118 103.5);
Tailwind
colors: {
  custom: {
    50: '#b9ae6a',
    500: '#978d29',
    950: '#000000',
  },
}
SCSS
$custom: #978d29;
$custom-light: #b9ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#978d29",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 54.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63376,
    "c": 0.1179,
    "h": 103.5
  },
  "luminance": 0.25789
}

Semantic roles & 50–950 ramp

primary
#978D29
secondary
#6169BB
accent
#55E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978D29

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

Preview Lab → · Contrast checker → · Palette generator →

#978D29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva