#978F29#978F29

#978F29 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 63.8% C 0.120 H 104.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#978F29
RGBrgb(151, 143, 41)
HSLhsl(56, 57%, 38%)
HSVhsv(56, 73%, 59%)
CMYKcmyk(0%, 5.3%, 72.8%, 40.8%)
CIE-LABlab(58.40, -9.18, 52.26)
CIE-LCHlch(58.40, 53.06, 99.96°)
OKLaboklab(63.82% -0.0306 0.1158)
OKLCHoklch(63.82% 0.12 104.8)
XYZxyz(22.9861, 26.3852, 5.9795)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F29 #293197
analogous
#975829 #978F29 #689729
triadic
#978F29 #29978F #8F2997
tetradic
#978F29 #299758 #293197 #972968
square
#978F29 #299758 #293197 #972968
split-complementary
#978F29 #296897 #582997
monochromatic
#37340F #67611C #978F29 #C7BD36 #D5CD65

Accessibility & contrast

On white

3.35
#978F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#978F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F29
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F29#FFFFFF#000000##000000
##978F291.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A18
Deuteranopia (green-blind)
#9F8E30
Tritanopia (blue-blind)
#A2857B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978f29;
/* rgb */ color: rgb(151, 143, 41);
/* oklch */ color: oklch(63.8% 0.120 104.8);
Tailwind
colors: {
  custom: {
    50: '#b9af6a',
    500: '#978f29',
    950: '#000000',
  },
}
SCSS
$custom: #978f29;
$custom-light: #b9af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#978f29",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 55.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63824,
    "c": 0.11977,
    "h": 104.8
  },
  "luminance": 0.26384
}

Semantic roles & 50–950 ramp

primary
#978F29
secondary
#6167BB
accent
#52E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978F29

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

Preview Lab → · Contrast checker → · Palette generator →

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