#978735#978735

#978735 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.104 H 98.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#978735
RGBrgb(151, 135, 53)
HSLhsl(50, 48%, 40%)
HSVhsv(50, 65%, 59%)
CMYKcmyk(0%, 10.6%, 64.9%, 40.8%)
CIE-LABlab(56.25, -4.11, 44.96)
CIE-LCHlch(56.25, 45.14, 95.23°)
OKLaboklab(62.15% -0.0148 0.1025)
OKLCHoklch(62.15% 0.104 98.2)
XYZxyz(22.0700, 24.1653, 6.8693)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978735 #354597
analogous
#975635 #978735 #769735
triadic
#978735 #359787 #873597
tetradic
#978735 #359756 #354597 #973576
square
#978735 #359756 #354597 #973576
split-complementary
#978735 #357697 #563597
monochromatic
#3C3615 #6A5E25 #978735 #BFAC4A #CFC177

Accessibility & contrast

On white

3.60
#978735 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#978735 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978735
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978735#FFFFFF#000000##000000
##9787351.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842B
Deuteranopia (green-blind)
#988939
Tritanopia (blue-blind)
#A27D76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978735;
/* rgb */ color: rgb(151, 135, 53);
/* oklch */ color: oklch(62.1% 0.104 98.2);
Tailwind
colors: {
  custom: {
    50: '#b8a970',
    500: '#978735',
    950: '#000000',
  },
}
SCSS
$custom: #978735;
$custom-light: #b8a970;
$custom-dark: #000000;
JSON
{
  "hex": "#978735",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 53
  },
  "hsl": {
    "h": 50.204,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.62148,
    "c": 0.10352,
    "h": 98.2
  },
  "luminance": 0.24164
}

Semantic roles & 50–950 ramp

primary
#978735
secondary
#707CB8
accent
#66D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978735

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

Preview Lab → · Contrast checker → · Palette generator →

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