#978336#978336

#978336 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.099 H 94.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#978336
RGBrgb(151, 131, 54)
HSLhsl(48, 47%, 40%)
HSVhsv(48, 64%, 59%)
CMYKcmyk(0%, 13.2%, 64.2%, 40.8%)
CIE-LABlab(55.15, -1.83, 43.29)
CIE-LCHlch(55.15, 43.33, 92.42°)
OKLaboklab(61.28% -0.0081 0.0991)
OKLCHoklch(61.28% 0.099 94.7)
XYZxyz(21.5456, 23.0793, 6.8092)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978336 #364A97
analogous
#975336 #978336 #7A9736
triadic
#978336 #369783 #833697
tetradic
#978336 #369753 #364A97 #97367A
square
#978336 #369753 #364A97 #97367A
split-complementary
#978336 #367A97 #533697
monochromatic
#3D3516 #6A5C26 #978336 #BFA74B #CFBD78

Accessibility & contrast

On white

3.74
#978336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#978336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978336
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978336#FFFFFF#000000##000000
##9783361.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802D
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#A37972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978336;
/* rgb */ color: rgb(151, 131, 54);
/* oklch */ color: oklch(61.3% 0.099 94.7);
Tailwind
colors: {
  custom: {
    50: '#b8a670',
    500: '#978336',
    950: '#000000',
  },
}
SCSS
$custom: #978336;
$custom-light: #b8a670;
$custom-dark: #000000;
JSON
{
  "hex": "#978336",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 47.629,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.0994,
    "h": 94.7
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

primary
#978336
secondary
#7180B8
accent
#6DD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978336

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

Preview Lab → · Contrast checker → · Palette generator →

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