#978529#978529

#978529 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.111 H 97.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#978529
RGBrgb(151, 133, 41)
HSLhsl(50, 57%, 38%)
HSVhsv(50, 73%, 59%)
CMYKcmyk(0%, 11.9%, 72.8%, 40.8%)
CIE-LABlab(55.60, -3.72, 49.51)
CIE-LCHlch(55.60, 49.65, 94.30°)
OKLaboklab(61.6% -0.0151 0.11)
OKLCHoklch(61.6% 0.111 97.8)
XYZxyz(21.5513, 23.5155, 5.5012)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978529 #293B97
analogous
#974E29 #978529 #729729
triadic
#978529 #299785 #852997
tetradic
#978529 #29974E #293B97 #972972
square
#978529 #29974E #293B97 #972972
split-complementary
#978529 #297297 #4E2997
monochromatic
#37300F #675B1C #978529 #C7AF36 #D5C365

Accessibility & contrast

On white

3.68
#978529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#978529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978529
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978529#FFFFFF#000000##000000
##9785291.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821B
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#A37B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978529;
/* rgb */ color: rgb(151, 133, 41);
/* oklch */ color: oklch(61.6% 0.111 97.8);
Tailwind
colors: {
  custom: {
    50: '#b9a869',
    500: '#978529',
    950: '#000000',
  },
}
SCSS
$custom: #978529;
$custom-light: #b9a869;
$custom-dark: #000000;
JSON
{
  "hex": "#978529",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 50.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61599,
    "c": 0.11103,
    "h": 97.8
  },
  "luminance": 0.23514
}

Semantic roles & 50–950 ramp

primary
#978529
secondary
#616FBB
accent
#60E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978529

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

Preview Lab → · Contrast checker → · Palette generator →

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