#978651#978651

#978651 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.075 H 92.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#978651
RGBrgb(151, 134, 81)
HSLhsl(45, 30%, 45%)
HSVhsv(45, 46%, 59%)
CMYKcmyk(0%, 11.3%, 46.4%, 40.8%)
CIE-LABlab(56.31, -1.14, 30.80)
CIE-LCHlch(56.31, 30.82, 92.11°)
OKLaboklab(62.3% -0.0029 0.0746)
OKLCHoklch(62.3% 0.075 92.2)
XYZxyz(22.7735, 24.2245, 11.2592)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978651 #516297
analogous
#976351 #978651 #859751
triadic
#978651 #519786 #865197
tetradic
#978651 #519763 #516297 #975185
square
#978651 #519763 #516297 #975185
split-complementary
#978651 #518597 #635197
monochromatic
#473F26 #6F633C #978651 #B3A372 #C9BD9A

Accessibility & contrast

On white

3.59
#978651 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#978651 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978651
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978651#FFFFFF#000000##000000
##9786511.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844D
Deuteranopia (green-blind)
#958953
Tritanopia (blue-blind)
#A17E79
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978651;
/* rgb */ color: rgb(151, 134, 81);
/* oklch */ color: oklch(62.3% 0.075 92.2);
Tailwind
colors: {
  custom: {
    50: '#b7a983',
    500: '#978651',
    950: '#000000',
  },
}
SCSS
$custom: #978651;
$custom-light: #b7a983;
$custom-dark: #000000;
JSON
{
  "hex": "#978651",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 81
  },
  "hsl": {
    "h": 45.429,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62303,
    "c": 0.07466,
    "h": 92.2
  },
  "luminance": 0.24224
}

Semantic roles & 50–950 ramp

primary
#978651
secondary
#8E98B6
accent
#7AC661
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #978651

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

Preview Lab → · Contrast checker → · Palette generator →

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