#978436#978436

#978436 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.100 H 95.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#978436
RGBrgb(151, 132, 54)
HSLhsl(48, 47%, 40%)
HSVhsv(48, 64%, 59%)
CMYKcmyk(0%, 12.6%, 64.2%, 40.8%)
CIE-LABlab(55.43, -2.39, 43.60)
CIE-LCHlch(55.43, 43.66, 93.13°)
OKLaboklab(61.5% -0.0097 0.0997)
OKLCHoklch(61.5% 0.1 95.6)
XYZxyz(21.6806, 23.3492, 6.8542)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978436 #364997
analogous
#975336 #978436 #7A9736
triadic
#978436 #369784 #843697
tetradic
#978436 #369753 #364997 #97367A
square
#978436 #369753 #364997 #97367A
split-complementary
#978436 #367A97 #533697
monochromatic
#3D3516 #6A5D26 #978436 #BFA84B #CFBE78

Accessibility & contrast

On white

3.70
#978436 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#978436 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978436
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978436#FFFFFF#000000##000000
##9784361.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812D
Deuteranopia (green-blind)
#96873A
Tritanopia (blue-blind)
#A37A73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978436;
/* rgb */ color: rgb(151, 132, 54);
/* oklch */ color: oklch(61.5% 0.100 95.6);
Tailwind
colors: {
  custom: {
    50: '#b8a770',
    500: '#978436',
    950: '#000000',
  },
}
SCSS
$custom: #978436;
$custom-light: #b8a770;
$custom-dark: #000000;
JSON
{
  "hex": "#978436",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 54
  },
  "hsl": {
    "h": 48.247,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.615,
    "c": 0.10019,
    "h": 95.6
  },
  "luminance": 0.23348
}

Semantic roles & 50–950 ramp

primary
#978436
secondary
#717FB8
accent
#6BD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978436

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

Preview Lab → · Contrast checker → · Palette generator →

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