#979939#979939

#979939 is a light, moderate yellow. Relative luminance 0.297; OKLCH L 66.2% C 0.118 H 110.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#979939
RGBrgb(151, 153, 57)
HSLhsl(61, 46%, 41%)
HSVhsv(61, 63%, 60%)
CMYKcmyk(1.3%, 0%, 62.7%, 40%)
CIE-LABlab(61.36, -13.54, 48.63)
CIE-LCHlch(61.36, 50.48, 105.56°)
OKLaboklab(66.22% -0.0411 0.1108)
OKLCHoklch(66.22% 0.118 110.4)
XYZxyz(24.8930, 29.6578, 8.2833)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979939 #3B3999
analogous
#996B39 #979939 #679939
triadic
#979939 #399799 #993997
tetradic
#979939 #39996B #3B3999 #993967
square
#979939 #39996B #3B3999 #993967
split-complementary
#979939 #396799 #6B3999
monochromatic
#3F4018 #6B6C28 #979939 #BCBE51 #CDCF7E

Accessibility & contrast

On white

3.03
#979939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#979939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979939
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979939#FFFFFF#000000##000000
##9799391.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932D
Deuteranopia (green-blind)
#A5963F
Tritanopia (blue-blind)
#A19085
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979939;
/* rgb */ color: rgb(151, 153, 57);
/* oklch */ color: oklch(66.2% 0.118 110.4);
Tailwind
colors: {
  custom: {
    50: '#b8b674',
    500: '#979939',
    950: '#000000',
  },
}
SCSS
$custom: #979939;
$custom-light: #b8b674;
$custom-dark: #000000;
JSON
{
  "hex": "#979939",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 57
  },
  "hsl": {
    "h": 61.25,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66221,
    "c": 0.11823,
    "h": 110.4
  },
  "luminance": 0.29657
}

Semantic roles & 50–950 ramp

primary
#979939
secondary
#7776B8
accent
#52D555
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #979939

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

Preview Lab → · Contrast checker → · Palette generator →

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