#978034#978034

#978034 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.099 H 92.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#978034
RGBrgb(151, 128, 52)
HSLhsl(46, 49%, 40%)
HSVhsv(46, 66%, 59%)
CMYKcmyk(0%, 15.2%, 65.6%, 40.8%)
CIE-LABlab(54.31, -0.29, 43.32)
CIE-LCHlch(54.31, 43.32, 90.39°)
OKLaboklab(60.61% -0.004 0.0988)
OKLCHoklch(60.61% 0.099 92.3)
XYZxyz(21.1025, 22.2667, 6.4345)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978034 #344B97
analogous
#974F34 #978034 #7C9734
triadic
#978034 #349780 #803497
tetradic
#978034 #34974F #344B97 #97347C
square
#978034 #34974F #344B97 #97347C
split-complementary
#978034 #347C97 #4F3497
monochromatic
#3C3315 #695924 #978034 #C0A448 #D0BB76

Accessibility & contrast

On white

3.85
#978034 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#978034 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978034
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978034#FFFFFF#000000##000000
##9780341.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2B
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#A37670
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978034;
/* rgb */ color: rgb(151, 128, 52);
/* oklch */ color: oklch(60.6% 0.099 92.3);
Tailwind
colors: {
  custom: {
    50: '#b9a46f',
    500: '#978034',
    950: '#000000',
  },
}
SCSS
$custom: #978034;
$custom-light: #b9a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#978034",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 46.061,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60608,
    "c": 0.0989,
    "h": 92.3
  },
  "luminance": 0.22266
}

Semantic roles & 50–950 ramp

primary
#978034
secondary
#6F80B8
accent
#6FD84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978034

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

Preview Lab → · Contrast checker → · Palette generator →

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