#978752#978752

#978752 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.074 H 93.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#978752
RGBrgb(151, 135, 82)
HSLhsl(46, 30%, 46%)
HSVhsv(46, 46%, 59%)
CMYKcmyk(0%, 10.6%, 45.7%, 40.8%)
CIE-LABlab(56.60, -1.59, 30.63)
CIE-LCHlch(56.60, 30.67, 92.97°)
OKLaboklab(62.54% -0.0041 0.0743)
OKLCHoklch(62.54% 0.074 93.2)
XYZxyz(22.9501, 24.5173, 11.5044)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978752 #526297
analogous
#976452 #978752 #849752
triadic
#978752 #529787 #875297
tetradic
#978752 #529764 #526297 #975284
square
#978752 #529764 #526297 #975284
split-complementary
#978752 #528497 #645297
monochromatic
#484027 #6F643C #978752 #B3A473 #C9BE9B

Accessibility & contrast

On white

3.56
#978752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#978752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978752
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978752#FFFFFF#000000##000000
##9787521.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91854E
Deuteranopia (green-blind)
#968A54
Tritanopia (blue-blind)
#A17F7A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978752;
/* rgb */ color: rgb(151, 135, 82);
/* oklch */ color: oklch(62.5% 0.074 93.2);
Tailwind
colors: {
  custom: {
    50: '#b7a983',
    500: '#978752',
    950: '#000000',
  },
}
SCSS
$custom: #978752;
$custom-light: #b7a983;
$custom-dark: #000000;
JSON
{
  "hex": "#978752",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 46.087,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.07437,
    "h": 93.2
  },
  "luminance": 0.24516
}

Semantic roles & 50–950 ramp

primary
#978752
secondary
#8F98B6
accent
#79C662
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#110F0B
muted
#807F7C

Preview Lab

Preview with #978752

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

Preview Lab → · Contrast checker → · Palette generator →

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