#978437#978437

#978437 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.099 H 95.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#978437
RGBrgb(151, 132, 55)
HSLhsl(48, 47%, 40%)
HSVhsv(48, 64%, 59%)
CMYKcmyk(0%, 12.6%, 63.6%, 40.8%)
CIE-LABlab(55.44, -2.32, 43.13)
CIE-LCHlch(55.44, 43.19, 93.08°)
OKLaboklab(61.51% -0.0094 0.0989)
OKLCHoklch(61.51% 0.099 95.4)
XYZxyz(21.7043, 23.3587, 6.9791)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978437 #374A97
analogous
#975437 #978437 #7A9737
triadic
#978437 #379784 #843797
tetradic
#978437 #379754 #374A97 #97377A
square
#978437 #379754 #374A97 #97377A
split-complementary
#978437 #377A97 #543797
monochromatic
#3D3616 #6A5D27 #978437 #BEA84D #CFBE7A

Accessibility & contrast

On white

3.70
#978437 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#978437 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978437
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978437#FFFFFF#000000##000000
##9784371.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812F
Deuteranopia (green-blind)
#96873B
Tritanopia (blue-blind)
#A37A73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978437;
/* rgb */ color: rgb(151, 132, 55);
/* oklch */ color: oklch(61.5% 0.099 95.4);
Tailwind
colors: {
  custom: {
    50: '#b8a771',
    500: '#978437',
    950: '#000000',
  },
}
SCSS
$custom: #978437;
$custom-light: #b8a771;
$custom-dark: #000000;
JSON
{
  "hex": "#978437",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 55
  },
  "hsl": {
    "h": 48.125,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61511,
    "c": 0.09932,
    "h": 95.4
  },
  "luminance": 0.23358
}

Semantic roles & 50–950 ramp

primary
#978437
secondary
#7280B8
accent
#6CD652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978437

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

Preview Lab → · Contrast checker → · Palette generator →

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