#978526#978526

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

Color values

HEX#978526
RGBrgb(151, 133, 38)
HSLhsl(50, 60%, 37%)
HSVhsv(50, 75%, 59%)
CMYKcmyk(0%, 11.9%, 74.8%, 40.8%)
CIE-LABlab(55.58, -3.87, 50.68)
CIE-LCHlch(55.58, 50.83, 94.37°)
OKLaboklab(61.58% -0.0159 0.1119)
OKLCHoklch(61.58% 0.113 98.1)
XYZxyz(21.5009, 23.4954, 5.2359)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978526 #263897
analogous
#974C26 #978526 #719726
triadic
#978526 #269785 #852697
tetradic
#978526 #26974C #263897 #972671
square
#978526 #26974C #263897 #972671
split-complementary
#978526 #267197 #4C2697
monochromatic
#352F0D #665A1A #978526 #C8B032 #D7C460

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978526#FFFFFF#000000##000000
##9785261.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)
#938216
Deuteranopia (green-blind)
#97882C
Tritanopia (blue-blind)
#A37B72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978526;
/* rgb */ color: rgb(151, 133, 38);
/* oklch */ color: oklch(61.6% 0.113 98.1);
Tailwind
colors: {
  custom: {
    50: '#b9a867',
    500: '#978526',
    950: '#000000',
  },
}
SCSS
$custom: #978526;
$custom-light: #b9a867;
$custom-dark: #000000;
JSON
{
  "hex": "#978526",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 50.442,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61577,
    "c": 0.11302,
    "h": 98.1
  },
  "luminance": 0.23494
}

Semantic roles & 50–950 ramp

primary
#978526
secondary
#5C6CBC
accent
#5EE345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978526

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

Preview Lab → · Contrast checker → · Palette generator →

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