#978835#978835

#978835 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.104 H 99.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#978835
RGBrgb(151, 136, 53)
HSLhsl(51, 48%, 40%)
HSVhsv(51, 65%, 59%)
CMYKcmyk(0%, 9.9%, 64.9%, 40.8%)
CIE-LABlab(56.53, -4.67, 45.26)
CIE-LCHlch(56.53, 45.49, 95.89°)
OKLaboklab(62.37% -0.0164 0.1031)
OKLCHoklch(62.37% 0.104 99)
XYZxyz(22.2102, 24.4457, 6.9161)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978835 #354497
analogous
#975735 #978835 #759735
triadic
#978835 #359788 #883597
tetradic
#978835 #359757 #354497 #973575
square
#978835 #359757 #354497 #973575
split-complementary
#978835 #357597 #573597
monochromatic
#3C3615 #6A5F25 #978835 #BFAD4A #CFC277

Accessibility & contrast

On white

3.57
#978835 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#978835 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978835
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978835#FFFFFF#000000##000000
##9788351.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95842B
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#A27E76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978835;
/* rgb */ color: rgb(151, 136, 53);
/* oklch */ color: oklch(62.4% 0.104 99.0);
Tailwind
colors: {
  custom: {
    50: '#b8aa70',
    500: '#978835',
    950: '#000000',
  },
}
SCSS
$custom: #978835;
$custom-light: #b8aa70;
$custom-dark: #000000;
JSON
{
  "hex": "#978835",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 53
  },
  "hsl": {
    "h": 50.816,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.62369,
    "c": 0.10438,
    "h": 99
  },
  "luminance": 0.24445
}

Semantic roles & 50–950 ramp

primary
#978835
secondary
#707BB8
accent
#65D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978835

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

Preview Lab → · Contrast checker → · Palette generator →

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