#978536#978536

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

Color values

HEX#978536
RGBrgb(151, 133, 54)
HSLhsl(49, 47%, 40%)
HSVhsv(49, 64%, 59%)
CMYKcmyk(0%, 11.9%, 64.2%, 40.8%)
CIE-LABlab(55.71, -2.94, 43.90)
CIE-LCHlch(55.71, 44.00, 93.83°)
OKLaboklab(61.72% -0.0113 0.1004)
OKLCHoklch(61.72% 0.101 96.4)
XYZxyz(21.8168, 23.6218, 6.8996)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978536 #364897
analogous
#975436 #978536 #789736
triadic
#978536 #369785 #853697
tetradic
#978536 #369754 #364897 #973678
square
#978536 #369754 #364897 #973678
split-complementary
#978536 #367897 #543697
monochromatic
#3D3616 #6A5D26 #978536 #BFA94B #CFBF78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978536#FFFFFF#000000##000000
##9785361.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)
#92822D
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#A37B74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978536;
/* rgb */ color: rgb(151, 133, 54);
/* oklch */ color: oklch(61.7% 0.101 96.4);
Tailwind
colors: {
  custom: {
    50: '#b8a871',
    500: '#978536',
    950: '#000000',
  },
}
SCSS
$custom: #978536;
$custom-light: #b8a871;
$custom-dark: #000000;
JSON
{
  "hex": "#978536",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 54
  },
  "hsl": {
    "h": 48.866,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.10099,
    "h": 96.4
  },
  "luminance": 0.23621
}

Semantic roles & 50–950 ramp

primary
#978536
secondary
#717EB8
accent
#6AD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978536

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

Preview Lab → · Contrast checker → · Palette generator →

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