#978E36#978E36

#978E36 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.109 H 103.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#978E36
RGBrgb(151, 142, 54)
HSLhsl(54, 47%, 40%)
HSVhsv(54, 64%, 59%)
CMYKcmyk(0%, 6%, 64.2%, 40.8%)
CIE-LABlab(58.22, -7.87, 46.61)
CIE-LCHlch(58.22, 47.27, 99.59°)
OKLaboklab(63.71% -0.0254 0.1061)
OKLCHoklch(63.71% 0.109 103.5)
XYZxyz(23.1022, 26.1925, 7.3281)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E36 #363F97
analogous
#975D36 #978E36 #6F9736
triadic
#978E36 #36978E #8E3697
tetradic
#978E36 #36975D #363F97 #97366F
square
#978E36 #36975D #363F97 #97366F
split-complementary
#978E36 #366F97 #5D3697
monochromatic
#3D3916 #6A6426 #978E36 #BFB44B #CFC778

Accessibility & contrast

On white

3.37
#978E36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#978E36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E36
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E36#FFFFFF#000000##000000
##978E361.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892B
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#A2857B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e36;
/* rgb */ color: rgb(151, 142, 54);
/* oklch */ color: oklch(63.7% 0.109 103.5);
Tailwind
colors: {
  custom: {
    50: '#b8ae71',
    500: '#978e36',
    950: '#000000',
  },
}
SCSS
$custom: #978e36;
$custom-light: #b8ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#978e36",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 54
  },
  "hsl": {
    "h": 54.433,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63712,
    "c": 0.10911,
    "h": 103.5
  },
  "luminance": 0.26192
}

Semantic roles & 50–950 ramp

primary
#978E36
secondary
#7178B8
accent
#5DD751
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978E36

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

Preview Lab → · Contrast checker → · Palette generator →

#978E36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva