#978640#978640

#978640 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.093 H 95.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#978640
RGBrgb(151, 134, 64)
HSLhsl(48, 40%, 42%)
HSVhsv(48, 58%, 59%)
CMYKcmyk(0%, 11.3%, 57.6%, 40.8%)
CIE-LABlab(56.09, -2.74, 39.45)
CIE-LCHlch(56.09, 39.54, 93.97°)
OKLaboklab(62.05% -0.0095 0.0922)
OKLCHoklch(62.05% 0.093 95.9)
XYZxyz(22.2139, 24.0007, 8.3120)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978640 #405197
analogous
#975B40 #978640 #7D9740
triadic
#978640 #409786 #864097
tetradic
#978640 #40975B #405197 #97407D
square
#978640 #40975B #405197 #97407D
split-complementary
#978640 #407D97 #5B4097
monochromatic
#413A1C #6C602E #978640 #B9A75B #CCBE86

Accessibility & contrast

On white

3.62
#978640 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#978640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978640
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978640#FFFFFF#000000##000000
##9786401.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928339
Deuteranopia (green-blind)
#968943
Tritanopia (blue-blind)
#A27D76
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #978640;
/* rgb */ color: rgb(151, 134, 64);
/* oklch */ color: oklch(62.1% 0.093 95.9);
Tailwind
colors: {
  custom: {
    50: '#b8a977',
    500: '#978640',
    950: '#000000',
  },
}
SCSS
$custom: #978640;
$custom-light: #b8a977;
$custom-dark: #000000;
JSON
{
  "hex": "#978640",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 48.276,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62054,
    "c": 0.09265,
    "h": 95.9
  },
  "luminance": 0.24
}

Semantic roles & 50–950 ramp

primary
#978640
secondary
#7D88B6
accent
#6FD057
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #978640

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

Preview Lab → · Contrast checker → · Palette generator →

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