#979335#979335

#979335 is a light, moderate yellow. Relative luminance 0.277; OKLCH L 64.8% C 0.115 H 106.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#979335
RGBrgb(151, 147, 53)
HSLhsl(58, 48%, 40%)
HSVhsv(58, 65%, 59%)
CMYKcmyk(0%, 2.6%, 64.9%, 40.8%)
CIE-LABlab(59.62, -10.63, 48.55)
CIE-LCHlch(59.62, 49.70, 102.35°)
OKLaboklab(64.82% -0.0334 0.1101)
OKLCHoklch(64.82% 0.115 106.9)
XYZxyz(23.8396, 27.7046, 7.4592)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979335 #353997
analogous
#976235 #979335 #6A9735
triadic
#979335 #359793 #933597
tetradic
#979335 #359762 #353997 #97356A
square
#979335 #359762 #353997 #97356A
split-complementary
#979335 #356A97 #623597
monochromatic
#3C3B15 #6A6725 #979335 #BFBB4A #CFCC77

Accessibility & contrast

On white

3.21
#979335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#979335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979335
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979335#FFFFFF#000000##000000
##9793351.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D29
Deuteranopia (green-blind)
#A1913B
Tritanopia (blue-blind)
#A28A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #979335;
/* rgb */ color: rgb(151, 147, 53);
/* oklch */ color: oklch(64.8% 0.115 106.9);
Tailwind
colors: {
  custom: {
    50: '#b8b271',
    500: '#979335',
    950: '#000000',
  },
}
SCSS
$custom: #979335;
$custom-light: #b8b271;
$custom-dark: #000000;
JSON
{
  "hex": "#979335",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 53
  },
  "hsl": {
    "h": 57.551,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.64824,
    "c": 0.115,
    "h": 106.9
  },
  "luminance": 0.27704
}

Semantic roles & 50–950 ramp

primary
#979335
secondary
#7073B8
accent
#56D850
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #979335

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

Preview Lab → · Contrast checker → · Palette generator →

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