#979136#979136

#979136 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.4% C 0.112 H 105.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#979136
RGBrgb(151, 145, 54)
HSLhsl(56, 47%, 40%)
HSVhsv(56, 64%, 59%)
CMYKcmyk(0%, 4%, 64.2%, 40.8%)
CIE-LABlab(59.06, -9.49, 47.51)
CIE-LCHlch(59.06, 48.45, 101.30°)
OKLaboklab(64.38% -0.03 0.108)
OKLCHoklch(64.38% 0.112 105.5)
XYZxyz(23.5546, 27.0973, 7.4789)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979136 #363C97
analogous
#976136 #979136 #6C9736
triadic
#979136 #369791 #913697
tetradic
#979136 #369761 #363C97 #97366C
square
#979136 #369761 #363C97 #97366C
split-complementary
#979136 #366C97 #613697
monochromatic
#3D3A16 #6A6626 #979136 #BFB84B #CFCA78

Accessibility & contrast

On white

3.27
#979136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#979136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979136
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979136#FFFFFF#000000##000000
##9791361.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C2B
Deuteranopia (green-blind)
#9F903B
Tritanopia (blue-blind)
#A2887E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #979136;
/* rgb */ color: rgb(151, 145, 54);
/* oklch */ color: oklch(64.4% 0.112 105.5);
Tailwind
colors: {
  custom: {
    50: '#b8b172',
    500: '#979136',
    950: '#000000',
  },
}
SCSS
$custom: #979136;
$custom-light: #b8b172;
$custom-dark: #000000;
JSON
{
  "hex": "#979136",
  "rgb": {
    "r": 151,
    "g": 145,
    "b": 54
  },
  "hsl": {
    "h": 56.289,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64384,
    "c": 0.11212,
    "h": 105.5
  },
  "luminance": 0.27096
}

Semantic roles & 50–950 ramp

primary
#979136
secondary
#7175B8
accent
#59D751
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #979136

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

Preview Lab → · Contrast checker → · Palette generator →

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