#978A36#978A36

#978A36 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.105 H 100.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#978A36
RGBrgb(151, 138, 54)
HSLhsl(52, 47%, 40%)
HSVhsv(52, 64%, 59%)
CMYKcmyk(0%, 8.6%, 64.2%, 40.8%)
CIE-LABlab(57.10, -5.69, 45.41)
CIE-LCHlch(57.10, 45.76, 97.15°)
OKLaboklab(62.82% -0.0192 0.1036)
OKLCHoklch(62.82% 0.105 100.5)
XYZxyz(22.5177, 25.0236, 7.1332)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A36 #364397
analogous
#975A36 #978A36 #739736
triadic
#978A36 #36978A #8A3697
tetradic
#978A36 #36975A #364397 #973673
square
#978A36 #36975A #364397 #973673
split-complementary
#978A36 #367397 #5A3697
monochromatic
#3D3816 #6A6126 #978A36 #BFAF4B #CFC378

Accessibility & contrast

On white

3.50
#978A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#978A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A36
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A36#FFFFFF#000000##000000
##978A361.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862C
Deuteranopia (green-blind)
#9A8B3A
Tritanopia (blue-blind)
#A28178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a36;
/* rgb */ color: rgb(151, 138, 54);
/* oklch */ color: oklch(62.8% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#b8ab71',
    500: '#978a36',
    950: '#000000',
  },
}
SCSS
$custom: #978a36;
$custom-light: #b8ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#978a36",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 51.959,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.10533,
    "h": 100.5
  },
  "luminance": 0.25023
}

Semantic roles & 50–950 ramp

primary
#978A36
secondary
#717BB8
accent
#63D751
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978A36

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

Preview Lab → · Contrast checker → · Palette generator →

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