#978A29#978A29

#978A29 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.7% C 0.115 H 101.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#978A29
RGBrgb(151, 138, 41)
HSLhsl(53, 57%, 38%)
HSVhsv(53, 73%, 59%)
CMYKcmyk(0%, 8.6%, 72.8%, 40.8%)
CIE-LABlab(56.99, -6.47, 50.88)
CIE-LCHlch(56.99, 51.29, 97.25°)
OKLaboklab(62.71% -0.0229 0.1129)
OKLCHoklch(62.71% 0.115 101.5)
XYZxyz(22.2522, 24.9173, 5.7348)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A29 #293697
analogous
#975329 #978A29 #6D9729
triadic
#978A29 #29978A #8A2997
tetradic
#978A29 #299753 #293697 #97296D
square
#978A29 #299753 #293697 #97296D
split-complementary
#978A29 #296D97 #532997
monochromatic
#37320F #675E1C #978A29 #C7B636 #D5C865

Accessibility & contrast

On white

3.51
#978A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#978A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A29
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A29#FFFFFF#000000##000000
##978A291.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#A38077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a29;
/* rgb */ color: rgb(151, 138, 41);
/* oklch */ color: oklch(62.7% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#b9ab69',
    500: '#978a29',
    950: '#000000',
  },
}
SCSS
$custom: #978a29;
$custom-light: #b9ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#978a29",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 52.909,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62706,
    "c": 0.11521,
    "h": 101.5
  },
  "luminance": 0.24916
}

Semantic roles & 50–950 ramp

primary
#978A29
secondary
#616BBB
accent
#59E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978A29

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

Preview Lab → · Contrast checker → · Palette generator →

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