#978648#978648

#978648 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.085 H 94.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#978648
RGBrgb(151, 134, 72)
HSLhsl(47, 35%, 44%)
HSVhsv(47, 52%, 59%)
CMYKcmyk(0%, 11.3%, 52.3%, 40.8%)
CIE-LABlab(56.19, -2.04, 35.45)
CIE-LCHlch(56.19, 35.51, 93.29°)
OKLaboklab(62.16% -0.0065 0.0843)
OKLCHoklch(62.16% 0.085 94.4)
XYZxyz(22.4581, 24.0983, 9.5981)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978648 #485997
analogous
#975E48 #978648 #809748
triadic
#978648 #489786 #864897
tetradic
#978648 #48975E #485997 #974880
square
#978648 #48975E #485997 #974880
split-complementary
#978648 #488097 #5E4897
monochromatic
#443C20 #6E6134 #978648 #B6A566 #CABD90

Accessibility & contrast

On white

3.61
#978648 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#978648 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978648
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978648#FFFFFF#000000##000000
##9786481.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918443
Deuteranopia (green-blind)
#96894A
Tritanopia (blue-blind)
#A17E77
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978648;
/* rgb */ color: rgb(151, 134, 72);
/* oklch */ color: oklch(62.2% 0.085 94.4);
Tailwind
colors: {
  custom: {
    50: '#b7a97c',
    500: '#978648',
    950: '#000000',
  },
}
SCSS
$custom: #978648;
$custom-light: #b7a97c;
$custom-dark: #000000;
JSON
{
  "hex": "#978648",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 72
  },
  "hsl": {
    "h": 47.089,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.08451,
    "h": 94.4
  },
  "luminance": 0.24097
}

Semantic roles & 50–950 ramp

primary
#978648
secondary
#8590B6
accent
#74CB5C
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F09
muted
#817F7B

Preview Lab

Preview with #978648

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

Preview Lab → · Contrast checker → · Palette generator →

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