#978342#978342

#978342 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.088 H 92.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#978342
RGBrgb(151, 131, 66)
HSLhsl(46, 39%, 43%)
HSVhsv(46, 56%, 59%)
CMYKcmyk(0%, 13.2%, 56.3%, 40.8%)
CIE-LABlab(55.28, -0.90, 37.49)
CIE-LCHlch(55.28, 37.50, 91.38°)
OKLaboklab(61.43% -0.004 0.0881)
OKLCHoklch(61.43% 0.088 92.6)
XYZxyz(21.8630, 23.2063, 8.4809)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978342 #425697
analogous
#975842 #978342 #819742
triadic
#978342 #429783 #834297
tetradic
#978342 #429758 #425697 #974281
square
#978342 #429758 #425697 #974281
split-complementary
#978342 #428197 #584297
monochromatic
#42391D #6C5E2F #978342 #B8A35E #CBBB88

Accessibility & contrast

On white

3.72
#978342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#978342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978342
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978342#FFFFFF#000000##000000
##9783421.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813C
Deuteranopia (green-blind)
#948745
Tritanopia (blue-blind)
#A27A74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978342;
/* rgb */ color: rgb(151, 131, 66);
/* oklch */ color: oklch(61.4% 0.088 92.6);
Tailwind
colors: {
  custom: {
    50: '#b8a678',
    500: '#978342',
    950: '#000000',
  },
}
SCSS
$custom: #978342;
$custom-light: #b8a678;
$custom-dark: #000000;
JSON
{
  "hex": "#978342",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 45.882,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61426,
    "c": 0.08823,
    "h": 92.6
  },
  "luminance": 0.23205
}

Semantic roles & 50–950 ramp

primary
#978342
secondary
#7F8CB6
accent
#75CF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #978342

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

Preview Lab → · Contrast checker → · Palette generator →

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