#978035#978035

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

Color values

HEX#978035
RGBrgb(151, 128, 53)
HSLhsl(46, 48%, 40%)
HSVhsv(46, 65%, 59%)
CMYKcmyk(0%, 15.2%, 64.9%, 40.8%)
CIE-LABlab(54.32, -0.23, 42.86)
CIE-LCHlch(54.32, 42.86, 90.30°)
OKLaboklab(60.62% -0.0036 0.098)
OKLCHoklch(60.62% 0.098 92.1)
XYZxyz(21.1253, 22.2758, 6.5544)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978035 #354C97
analogous
#974F35 #978035 #7D9735
triadic
#978035 #359780 #803597
tetradic
#978035 #35974F #354C97 #97357D
square
#978035 #35974F #354C97 #97357D
split-complementary
#978035 #357D97 #4F3597
monochromatic
#3C3315 #6A5A25 #978035 #BFA44A #CFBB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978035#FFFFFF#000000##000000
##9780351.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)
#8D7E2D
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#A37670
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978035;
/* rgb */ color: rgb(151, 128, 53);
/* oklch */ color: oklch(60.6% 0.098 92.1);
Tailwind
colors: {
  custom: {
    50: '#b8a470',
    500: '#978035',
    950: '#000000',
  },
}
SCSS
$custom: #978035;
$custom-light: #b8a470;
$custom-dark: #000000;
JSON
{
  "hex": "#978035",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 53
  },
  "hsl": {
    "h": 45.918,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.09806,
    "h": 92.1
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#978035
secondary
#7081B8
accent
#70D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978035

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

Preview Lab → · Contrast checker → · Palette generator →

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