#978738#978738

#978738 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.101 H 97.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#978738
RGBrgb(151, 135, 56)
HSLhsl(50, 46%, 41%)
HSVhsv(50, 63%, 59%)
CMYKcmyk(0%, 10.6%, 62.9%, 40.8%)
CIE-LABlab(56.28, -3.91, 43.58)
CIE-LCHlch(56.28, 43.76, 95.12°)
OKLaboklab(62.18% -0.0139 0.1)
OKLCHoklch(62.18% 0.101 97.9)
XYZxyz(22.1412, 24.1938, 7.2442)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978738 #384897
analogous
#975738 #978738 #779738
triadic
#978738 #389787 #873897
tetradic
#978738 #389757 #384897 #973877
square
#978738 #389757 #384897 #973877
split-complementary
#978738 #387797 #573897
monochromatic
#3E3717 #6A5F27 #978738 #BEAB4F #CEC07B

Accessibility & contrast

On white

3.60
#978738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#978738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978738
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978738#FFFFFF#000000##000000
##9787381.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842F
Deuteranopia (green-blind)
#98893C
Tritanopia (blue-blind)
#A27E76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978738;
/* rgb */ color: rgb(151, 135, 56);
/* oklch */ color: oklch(62.2% 0.101 97.9);
Tailwind
colors: {
  custom: {
    50: '#b8a972',
    500: '#978738',
    950: '#000000',
  },
}
SCSS
$custom: #978738;
$custom-light: #b8a972;
$custom-dark: #000000;
JSON
{
  "hex": "#978738",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 49.895,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6218,
    "c": 0.10094,
    "h": 97.9
  },
  "luminance": 0.24193
}

Semantic roles & 50–950 ramp

primary
#978738
secondary
#737FB7
accent
#68D652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978738

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

Preview Lab → · Contrast checker → · Palette generator →

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