#978632#978632

#978632 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.105 H 97.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#978632
RGBrgb(151, 134, 50)
HSLhsl(50, 50%, 39%)
HSVhsv(50, 67%, 59%)
CMYKcmyk(0%, 11.3%, 66.9%, 40.8%)
CIE-LABlab(55.95, -3.76, 46.00)
CIE-LCHlch(55.95, 46.15, 94.67°)
OKLaboklab(61.9% -0.0142 0.1042)
OKLCHoklch(61.9% 0.105 97.8)
XYZxyz(21.8643, 23.8608, 6.4709)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978632 #324397
analogous
#975432 #978632 #769732
triadic
#978632 #329786 #863297
tetradic
#978632 #329754 #324397 #973276
square
#978632 #329754 #324397 #973276
split-complementary
#978632 #327697 #543297
monochromatic
#3B3414 #695D23 #978632 #C1AC45 #D1C173

Accessibility & contrast

On white

3.64
#978632 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#978632 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978632
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978632#FFFFFF#000000##000000
##9786321.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938328
Deuteranopia (green-blind)
#978936
Tritanopia (blue-blind)
#A37C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #978632;
/* rgb */ color: rgb(151, 134, 50);
/* oklch */ color: oklch(61.9% 0.105 97.8);
Tailwind
colors: {
  custom: {
    50: '#b9a86e',
    500: '#978632',
    950: '#000000',
  },
}
SCSS
$custom: #978632;
$custom-light: #b9a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#978632",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 50
  },
  "hsl": {
    "h": 49.901,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.10514,
    "h": 97.8
  },
  "luminance": 0.2386
}

Semantic roles & 50–950 ramp

primary
#978632
secondary
#6C79B9
accent
#66DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978632

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

Preview Lab → · Contrast checker → · Palette generator →

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