#978850#978850

#978850 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.078 H 94.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#978850
RGBrgb(151, 136, 80)
HSLhsl(47, 31%, 45%)
HSVhsv(47, 47%, 59%)
CMYKcmyk(0%, 9.9%, 47%, 40.8%)
CIE-LABlab(56.85, -2.35, 32.01)
CIE-LCHlch(56.85, 32.10, 94.21°)
OKLaboklab(62.72% -0.0065 0.0773)
OKLCHoklch(62.72% 0.078 94.8)
XYZxyz(23.0153, 24.7677, 11.1562)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978850 #505F97
analogous
#976450 #978850 #829750
triadic
#978850 #509788 #885097
tetradic
#978850 #509764 #505F97 #975082
square
#978850 #509764 #505F97 #975082
split-complementary
#978850 #508297 #645097
monochromatic
#474026 #6F643B #978850 #B4A571 #C9BF99

Accessibility & contrast

On white

3.53
#978850 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#978850 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978850
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978850#FFFFFF#000000##000000
##9788501.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93864C
Deuteranopia (green-blind)
#978A52
Tritanopia (blue-blind)
#A1807A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978850;
/* rgb */ color: rgb(151, 136, 80);
/* oklch */ color: oklch(62.7% 0.078 94.8);
Tailwind
colors: {
  custom: {
    50: '#b7aa82',
    500: '#978850',
    950: '#000000',
  },
}
SCSS
$custom: #978850;
$custom-light: #b7aa82;
$custom-dark: #000000;
JSON
{
  "hex": "#978850",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 80
  },
  "hsl": {
    "h": 47.324,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.62722,
    "c": 0.07754,
    "h": 94.8
  },
  "luminance": 0.24767
}

Semantic roles & 50–950 ramp

primary
#978850
secondary
#8D96B6
accent
#76C761
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100A
muted
#807F7C

Preview Lab

Preview with #978850

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

Preview Lab → · Contrast checker → · Palette generator →

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