#978652#978652

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

Color values

HEX#978652
RGBrgb(151, 134, 82)
HSLhsl(45, 30%, 46%)
HSVhsv(45, 46%, 59%)
CMYKcmyk(0%, 11.3%, 45.7%, 40.8%)
CIE-LABlab(56.33, -1.03, 30.28)
CIE-LCHlch(56.33, 30.30, 91.95°)
OKLaboklab(62.32% -0.0025 0.0735)
OKLCHoklch(62.32% 0.074 92)
XYZxyz(22.8112, 24.2396, 11.4581)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978652 #526397
analogous
#976352 #978652 #859752
triadic
#978652 #529786 #865297
tetradic
#978652 #529763 #526397 #975285
square
#978652 #529763 #526397 #975285
split-complementary
#978652 #528597 #635297
monochromatic
#484027 #6F633C #978652 #B3A373 #C9BD9B

Accessibility & contrast

On white

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

On black

5.85
#978652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978652
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978652#FFFFFF#000000##000000
##9786521.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90844E
Deuteranopia (green-blind)
#958954
Tritanopia (blue-blind)
#A17E79
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978652;
/* rgb */ color: rgb(151, 134, 82);
/* oklch */ color: oklch(62.3% 0.074 92.0);
Tailwind
colors: {
  custom: {
    50: '#b7a983',
    500: '#978652',
    950: '#000000',
  },
}
SCSS
$custom: #978652;
$custom-light: #b7a983;
$custom-dark: #000000;
JSON
{
  "hex": "#978652",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 82
  },
  "hsl": {
    "h": 45.217,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6232,
    "c": 0.07352,
    "h": 92
  },
  "luminance": 0.24239
}

Semantic roles & 50–950 ramp

primary
#978652
secondary
#8F99B6
accent
#7BC662
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#110F0B
muted
#807F7C

Preview Lab

Preview with #978652

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

Preview Lab → · Contrast checker → · Palette generator →

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