#978527#978527

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

Color values

HEX#978527
RGBrgb(151, 133, 39)
HSLhsl(50, 59%, 37%)
HSVhsv(50, 74%, 59%)
CMYKcmyk(0%, 11.9%, 74.2%, 40.8%)
CIE-LABlab(55.59, -3.83, 50.30)
CIE-LCHlch(55.59, 50.44, 94.35°)
OKLaboklab(61.58% -0.0157 0.1113)
OKLCHoklch(61.58% 0.112 98)
XYZxyz(21.5173, 23.5019, 5.3220)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978527 #273997
analogous
#974D27 #978527 #719727
triadic
#978527 #279785 #852797
tetradic
#978527 #27974D #273997 #972771
square
#978527 #27974D #273997 #972771
split-complementary
#978527 #277197 #4D2797
monochromatic
#362F0E #665A1A #978527 #C8B034 #D6C462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978527#FFFFFF#000000##000000
##9785271.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)
#938218
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#A37B72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978527;
/* rgb */ color: rgb(151, 133, 39);
/* oklch */ color: oklch(61.6% 0.112 98.0);
Tailwind
colors: {
  custom: {
    50: '#b9a868',
    500: '#978527',
    950: '#000000',
  },
}
SCSS
$custom: #978527;
$custom-light: #b9a868;
$custom-dark: #000000;
JSON
{
  "hex": "#978527",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 39
  },
  "hsl": {
    "h": 50.357,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61584,
    "c": 0.11237,
    "h": 98
  },
  "luminance": 0.23501
}

Semantic roles & 50–950 ramp

primary
#978527
secondary
#5E6DBC
accent
#5FE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978527

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

Preview Lab → · Contrast checker → · Palette generator →

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