#978754#978754

#978754 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.6% C 0.072 H 92.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#978754
RGBrgb(151, 135, 84)
HSLhsl(46, 29%, 46%)
HSVhsv(46, 44%, 59%)
CMYKcmyk(0%, 10.6%, 44.4%, 40.8%)
CIE-LABlab(56.63, -1.37, 29.58)
CIE-LCHlch(56.63, 29.61, 92.65°)
OKLaboklab(62.57% -0.0033 0.072)
OKLCHoklch(62.57% 0.072 92.6)
XYZxyz(23.0273, 24.5482, 11.9111)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978754 #546497
analogous
#976554 #978754 #859754
triadic
#978754 #549787 #875497
tetradic
#978754 #549765 #546497 #975485
square
#978754 #549765 #546497 #975485
split-complementary
#978754 #548597 #655497
monochromatic
#484128 #70643E #978754 #B3A476 #C8BE9D

Accessibility & contrast

On white

3.55
#978754 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#978754 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978754
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978754#FFFFFF#000000##000000
##9787541.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918550
Deuteranopia (green-blind)
#958A56
Tritanopia (blue-blind)
#A1807A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978754;
/* rgb */ color: rgb(151, 135, 84);
/* oklch */ color: oklch(62.6% 0.072 92.6);
Tailwind
colors: {
  custom: {
    50: '#b7a985',
    500: '#978754',
    950: '#000000',
  },
}
SCSS
$custom: #978754;
$custom-light: #b7a985;
$custom-dark: #000000;
JSON
{
  "hex": "#978754",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 84
  },
  "hsl": {
    "h": 45.672,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.62571,
    "c": 0.07208,
    "h": 92.6
  },
  "luminance": 0.24547
}

Semantic roles & 50–950 ramp

primary
#978754
secondary
#919AB6
accent
#7AC563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#110F0B
muted
#807F7C

Preview Lab

Preview with #978754

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

Preview Lab → · Contrast checker → · Palette generator →

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