#978136#978136

#978136 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.098 H 92.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#978136
RGBrgb(151, 129, 54)
HSLhsl(46, 47%, 40%)
HSVhsv(46, 64%, 59%)
CMYKcmyk(0%, 14.6%, 64.2%, 40.8%)
CIE-LABlab(54.60, -0.72, 42.69)
CIE-LCHlch(54.60, 42.70, 90.96°)
OKLaboklab(60.85% -0.0049 0.0978)
OKLCHoklch(60.85% 0.098 92.9)
XYZxyz(21.2796, 22.5473, 6.7205)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978136 #364C97
analogous
#975136 #978136 #7C9736
triadic
#978136 #369781 #813697
tetradic
#978136 #369751 #364C97 #97367C
square
#978136 #369751 #364C97 #97367C
split-complementary
#978136 #367C97 #513697
monochromatic
#3D3416 #6A5A26 #978136 #BFA54B #CFBB78

Accessibility & contrast

On white

3.81
#978136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#978136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978136
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978136#FFFFFF#000000##000000
##9781361.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2E
Deuteranopia (green-blind)
#948539
Tritanopia (blue-blind)
#A37771
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978136;
/* rgb */ color: rgb(151, 129, 54);
/* oklch */ color: oklch(60.8% 0.098 92.9);
Tailwind
colors: {
  custom: {
    50: '#b8a570',
    500: '#978136',
    950: '#000000',
  },
}
SCSS
$custom: #978136;
$custom-light: #b8a570;
$custom-dark: #000000;
JSON
{
  "hex": "#978136",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 46.392,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.0979,
    "h": 92.9
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#978136
secondary
#7181B8
accent
#6FD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978136

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

Preview Lab → · Contrast checker → · Palette generator →

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