#979438#979438

#979438 is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.1% C 0.114 H 107.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#979438
RGBrgb(151, 148, 56)
HSLhsl(58, 46%, 41%)
HSVhsv(58, 63%, 59%)
CMYKcmyk(0%, 2%, 62.9%, 40.8%)
CIE-LABlab(59.93, -10.96, 47.55)
CIE-LCHlch(59.93, 48.79, 102.98°)
OKLaboklab(65.08% -0.034 0.1084)
OKLCHoklch(65.08% 0.114 107.4)
XYZxyz(24.0670, 28.0454, 7.8862)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979438 #383B97
analogous
#976438 #979438 #6A9738
triadic
#979438 #389794 #943897
tetradic
#979438 #389764 #383B97 #97386A
square
#979438 #389764 #383B97 #97386A
split-complementary
#979438 #386A97 #643897
monochromatic
#3E3C17 #6A6827 #979438 #BEBA4F #CECC7B

Accessibility & contrast

On white

3.18
#979438 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#979438 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979438
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979438#FFFFFF#000000##000000
##9794381.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E2D
Deuteranopia (green-blind)
#A2923D
Tritanopia (blue-blind)
#A18B81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #979438;
/* rgb */ color: rgb(151, 148, 56);
/* oklch */ color: oklch(65.1% 0.114 107.4);
Tailwind
colors: {
  custom: {
    50: '#b8b373',
    500: '#979438',
    950: '#000000',
  },
}
SCSS
$custom: #979438;
$custom-light: #b8b373;
$custom-dark: #000000;
JSON
{
  "hex": "#979438",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 56
  },
  "hsl": {
    "h": 58.105,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65079,
    "c": 0.11359,
    "h": 107.4
  },
  "luminance": 0.28045
}

Semantic roles & 50–950 ramp

primary
#979438
secondary
#7376B7
accent
#56D652
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#121108
muted
#81807B

Preview Lab

Preview with #979438

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

Preview Lab → · Contrast checker → · Palette generator →

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