#978625#978625

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

Color values

HEX#978625
RGBrgb(151, 134, 37)
HSLhsl(51, 61%, 37%)
HSVhsv(51, 75%, 59%)
CMYKcmyk(0%, 11.3%, 75.5%, 40.8%)
CIE-LABlab(55.85, -4.47, 51.33)
CIE-LCHlch(55.85, 51.52, 94.98°)
OKLaboklab(61.79% -0.0177 0.1131)
OKLCHoklch(61.79% 0.114 98.9)
XYZxyz(21.6226, 23.7641, 5.1979)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978625 #253697
analogous
#974D25 #978625 #6F9725
triadic
#978625 #259786 #862597
tetradic
#978625 #25974D #253697 #97256F
square
#978625 #25974D #253697 #97256F
split-complementary
#978625 #256F97 #4D2597
monochromatic
#352F0D #665A19 #978625 #C8B231 #D8C65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978625#FFFFFF#000000##000000
##9786251.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)
#948214
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #978625;
/* rgb */ color: rgb(151, 134, 37);
/* oklch */ color: oklch(61.8% 0.114 98.9);
Tailwind
colors: {
  custom: {
    50: '#b9a867',
    500: '#978625',
    950: '#000000',
  },
}
SCSS
$custom: #978625;
$custom-light: #b9a867;
$custom-dark: #000000;
JSON
{
  "hex": "#978625",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 51.053,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6179,
    "c": 0.11444,
    "h": 98.9
  },
  "luminance": 0.23763
}

Semantic roles & 50–950 ramp

primary
#978625
secondary
#5B6ABD
accent
#5CE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978625

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

Preview Lab → · Contrast checker → · Palette generator →

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