#978237#978237

#978237 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.098 H 93.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#978237
RGBrgb(151, 130, 55)
HSLhsl(47, 47%, 40%)
HSVhsv(47, 64%, 59%)
CMYKcmyk(0%, 13.9%, 63.6%, 40.8%)
CIE-LABlab(54.89, -1.20, 42.52)
CIE-LCHlch(54.89, 42.54, 91.62°)
OKLaboklab(61.07% -0.0062 0.0976)
OKLCHoklch(61.07% 0.098 93.6)
XYZxyz(21.4357, 22.8215, 6.8896)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978237 #374C97
analogous
#975237 #978237 #7C9737
triadic
#978237 #379782 #823797
tetradic
#978237 #379752 #374C97 #97377C
square
#978237 #379752 #374C97 #97377C
split-complementary
#978237 #377C97 #523797
monochromatic
#3D3516 #6A5B27 #978237 #BEA54D #CFBC7A

Accessibility & contrast

On white

3.77
#978237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#978237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978237
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978237#FFFFFF#000000##000000
##9782371.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#94863A
Tritanopia (blue-blind)
#A37872
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978237;
/* rgb */ color: rgb(151, 130, 55);
/* oklch */ color: oklch(61.1% 0.098 93.6);
Tailwind
colors: {
  custom: {
    50: '#b8a671',
    500: '#978237',
    950: '#000000',
  },
}
SCSS
$custom: #978237;
$custom-light: #b8a671;
$custom-dark: #000000;
JSON
{
  "hex": "#978237",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 46.875,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61074,
    "c": 0.09778,
    "h": 93.6
  },
  "luminance": 0.2282
}

Semantic roles & 50–950 ramp

primary
#978237
secondary
#7281B8
accent
#6FD652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978237

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

Preview Lab → · Contrast checker → · Palette generator →

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