#978535#978535

#978535 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.102 H 96.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#978535
RGBrgb(151, 133, 53)
HSLhsl(49, 48%, 40%)
HSVhsv(49, 65%, 59%)
CMYKcmyk(0%, 11.9%, 64.9%, 40.8%)
CIE-LABlab(55.70, -3.01, 44.36)
CIE-LCHlch(55.70, 44.46, 93.88°)
OKLaboklab(61.71% -0.0117 0.1012)
OKLCHoklch(61.71% 0.102 96.6)
XYZxyz(21.7936, 23.6125, 6.7772)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978535 #354797
analogous
#975435 #978535 #789735
triadic
#978535 #359785 #853597
tetradic
#978535 #359754 #354797 #973578
square
#978535 #359754 #354797 #973578
split-complementary
#978535 #357897 #543597
monochromatic
#3C3515 #6A5D25 #978535 #BFAA4A #CFBF77

Accessibility & contrast

On white

3.67
#978535 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#978535 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978535
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978535#FFFFFF#000000##000000
##9785351.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822C
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#A37B74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978535;
/* rgb */ color: rgb(151, 133, 53);
/* oklch */ color: oklch(61.7% 0.102 96.6);
Tailwind
colors: {
  custom: {
    50: '#b8a870',
    500: '#978535',
    950: '#000000',
  },
}
SCSS
$custom: #978535;
$custom-light: #b8a870;
$custom-dark: #000000;
JSON
{
  "hex": "#978535",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 48.98,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.10184,
    "h": 96.6
  },
  "luminance": 0.23611
}

Semantic roles & 50–950 ramp

primary
#978535
secondary
#707DB8
accent
#69D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978535

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

Preview Lab → · Contrast checker → · Palette generator →

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