#978C29#978C29

#978C29 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.117 H 102.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#978C29
RGBrgb(151, 140, 41)
HSLhsl(54, 57%, 38%)
HSVhsv(54, 73%, 59%)
CMYKcmyk(0%, 7.3%, 72.8%, 40.8%)
CIE-LABlab(57.56, -7.56, 51.43)
CIE-LCHlch(57.56, 51.99, 98.36°)
OKLaboklab(63.15% -0.026 0.1141)
OKLCHoklch(63.15% 0.117 102.9)
XYZxyz(22.5418, 25.4965, 5.8313)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C29 #293497
analogous
#975529 #978C29 #6B9729
triadic
#978C29 #29978C #8C2997
tetradic
#978C29 #299755 #293497 #97296B
square
#978C29 #299755 #293497 #97296B
split-complementary
#978C29 #296B97 #552997
monochromatic
#37330F #675F1C #978C29 #C7B936 #D5CA65

Accessibility & contrast

On white

3.44
#978C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#978C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C29
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C29#FFFFFF#000000##000000
##978C291.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998719
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#A38279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978c29;
/* rgb */ color: rgb(151, 140, 41);
/* oklch */ color: oklch(63.2% 0.117 102.9);
Tailwind
colors: {
  custom: {
    50: '#b9ad6a',
    500: '#978c29',
    950: '#000000',
  },
}
SCSS
$custom: #978c29;
$custom-light: #b9ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#978c29",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 54,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63152,
    "c": 0.11699,
    "h": 102.9
  },
  "luminance": 0.25496
}

Semantic roles & 50–950 ramp

primary
#978C29
secondary
#616ABB
accent
#57E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978C29

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

Preview Lab → · Contrast checker → · Palette generator →

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