#978626#978626

#978626 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.114 H 98.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#978626
RGBrgb(151, 134, 38)
HSLhsl(51, 60%, 37%)
HSVhsv(51, 75%, 59%)
CMYKcmyk(0%, 11.3%, 74.8%, 40.8%)
CIE-LABlab(55.86, -4.43, 50.95)
CIE-LCHlch(55.86, 51.14, 94.96°)
OKLaboklab(61.8% -0.0175 0.1125)
OKLCHoklch(61.8% 0.114 98.8)
XYZxyz(21.6385, 23.7705, 5.2817)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978626 #263797
analogous
#974D26 #978626 #709726
triadic
#978626 #269786 #862697
tetradic
#978626 #26974D #263797 #972670
square
#978626 #26974D #263797 #972670
split-complementary
#978626 #267097 #4D2697
monochromatic
#352F0D #665B1A #978626 #C8B132 #D7C560

Accessibility & contrast

On white

3.65
#978626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#978626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978626
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978626#FFFFFF#000000##000000
##9786261.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948215
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #978626;
/* rgb */ color: rgb(151, 134, 38);
/* oklch */ color: oklch(61.8% 0.114 98.8);
Tailwind
colors: {
  custom: {
    50: '#b9a867',
    500: '#978626',
    950: '#000000',
  },
}
SCSS
$custom: #978626;
$custom-light: #b9a867;
$custom-dark: #000000;
JSON
{
  "hex": "#978626",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 50.973,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61797,
    "c": 0.11381,
    "h": 98.8
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#978626
secondary
#5C6BBC
accent
#5DE345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978626

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

Preview Lab → · Contrast checker → · Palette generator →

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