#978537#978537

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

Color values

HEX#978537
RGBrgb(151, 133, 55)
HSLhsl(49, 47%, 40%)
HSVhsv(49, 64%, 59%)
CMYKcmyk(0%, 11.9%, 63.6%, 40.8%)
CIE-LABlab(55.72, -2.87, 43.44)
CIE-LCHlch(55.72, 43.53, 93.78°)
OKLaboklab(61.73% -0.011 0.0995)
OKLCHoklch(61.73% 0.1 96.3)
XYZxyz(21.8406, 23.6312, 7.0246)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978537 #374997
analogous
#975537 #978537 #799737
triadic
#978537 #379785 #853797
tetradic
#978537 #379755 #374997 #973779
square
#978537 #379755 #374997 #973779
split-complementary
#978537 #377997 #553797
monochromatic
#3D3616 #6A5D27 #978537 #BEA94D #CFBF7A

Accessibility & contrast

On white

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

On black

5.73
#978537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978537
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978537#FFFFFF#000000##000000
##9785371.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822E
Deuteranopia (green-blind)
#96883B
Tritanopia (blue-blind)
#A27B74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978537;
/* rgb */ color: rgb(151, 133, 55);
/* oklch */ color: oklch(61.7% 0.100 96.3);
Tailwind
colors: {
  custom: {
    50: '#b8a871',
    500: '#978537',
    950: '#000000',
  },
}
SCSS
$custom: #978537;
$custom-light: #b8a871;
$custom-dark: #000000;
JSON
{
  "hex": "#978537",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 55
  },
  "hsl": {
    "h": 48.75,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.10013,
    "h": 96.3
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#978537
secondary
#727FB8
accent
#6AD652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978537

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

Preview Lab → · Contrast checker → · Palette generator →

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