#979338#979338

#979338 is a light, moderate yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.113 H 106.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#979338
RGBrgb(151, 147, 56)
HSLhsl(57, 46%, 41%)
HSVhsv(57, 63%, 59%)
CMYKcmyk(0%, 2.6%, 62.9%, 40.8%)
CIE-LABlab(59.65, -10.43, 47.24)
CIE-LCHlch(59.65, 48.38, 102.45°)
OKLaboklab(64.85% -0.0324 0.1078)
OKLCHoklch(64.85% 0.113 106.8)
XYZxyz(23.9108, 27.7330, 7.8341)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979338 #383C97
analogous
#976338 #979338 #6B9738
triadic
#979338 #389793 #933897
tetradic
#979338 #389763 #383C97 #97386B
square
#979338 #389763 #383C97 #97386B
split-complementary
#979338 #386B97 #633897
monochromatic
#3E3C17 #6A6827 #979338 #BEB94F #CECB7B

Accessibility & contrast

On white

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

On black

6.55
#979338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979338
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979338#FFFFFF#000000##000000
##9793381.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2D
Deuteranopia (green-blind)
#A1913D
Tritanopia (blue-blind)
#A28A80
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #979338;
/* rgb */ color: rgb(151, 147, 56);
/* oklch */ color: oklch(64.9% 0.113 106.8);
Tailwind
colors: {
  custom: {
    50: '#b8b273',
    500: '#979338',
    950: '#000000',
  },
}
SCSS
$custom: #979338;
$custom-light: #b8b273;
$custom-dark: #000000;
JSON
{
  "hex": "#979338",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 56
  },
  "hsl": {
    "h": 57.474,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64853,
    "c": 0.11253,
    "h": 106.8
  },
  "luminance": 0.27732
}

Semantic roles & 50–950 ramp

primary
#979338
secondary
#7376B7
accent
#58D652
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #979338

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

Preview Lab → · Contrast checker → · Palette generator →

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