#978F36#978F36

#978F36 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.110 H 104.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#978F36
RGBrgb(151, 143, 54)
HSLhsl(55, 47%, 40%)
HSVhsv(55, 64%, 59%)
CMYKcmyk(0%, 5.3%, 64.2%, 40.8%)
CIE-LABlab(58.50, -8.41, 46.91)
CIE-LCHlch(58.50, 47.66, 100.17°)
OKLaboklab(63.93% -0.027 0.1068)
OKLCHoklch(63.93% 0.11 104.2)
XYZxyz(23.2517, 26.4914, 7.3779)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F36 #363E97
analogous
#975F36 #978F36 #6E9736
triadic
#978F36 #36978F #8F3697
tetradic
#978F36 #36975F #363E97 #97366E
square
#978F36 #36975F #363E97 #97366E
split-complementary
#978F36 #366E97 #5F3697
monochromatic
#3D3A16 #6A6426 #978F36 #BFB54B #CFC878

Accessibility & contrast

On white

3.33
#978F36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#978F36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F36
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F36#FFFFFF#000000##000000
##978F361.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2B
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978f36;
/* rgb */ color: rgb(151, 143, 54);
/* oklch */ color: oklch(63.9% 0.110 104.2);
Tailwind
colors: {
  custom: {
    50: '#b8af71',
    500: '#978f36',
    950: '#000000',
  },
}
SCSS
$custom: #978f36;
$custom-light: #b8af71;
$custom-dark: #000000;
JSON
{
  "hex": "#978f36",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 54
  },
  "hsl": {
    "h": 55.052,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63935,
    "c": 0.1101,
    "h": 104.2
  },
  "luminance": 0.26491
}

Semantic roles & 50–950 ramp

primary
#978F36
secondary
#7177B8
accent
#5CD751
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978F36

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

Preview Lab → · Contrast checker → · Palette generator →

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