#978236#978236

#978236 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.099 H 93.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#978236
RGBrgb(151, 130, 54)
HSLhsl(47, 47%, 40%)
HSVhsv(47, 64%, 59%)
CMYKcmyk(0%, 13.9%, 64.2%, 40.8%)
CIE-LABlab(54.88, -1.27, 42.99)
CIE-LCHlch(54.88, 43.01, 91.70°)
OKLaboklab(61.06% -0.0065 0.0984)
OKLCHoklch(61.06% 0.099 93.8)
XYZxyz(21.4120, 22.8120, 6.7646)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978236 #364B97
analogous
#975136 #978236 #7C9736
triadic
#978236 #369782 #823697
tetradic
#978236 #369751 #364B97 #97367C
square
#978236 #369751 #364B97 #97367C
split-complementary
#978236 #367C97 #513697
monochromatic
#3D3416 #6A5B26 #978236 #BFA64B #CFBC78

Accessibility & contrast

On white

3.78
#978236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#978236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978236
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978236#FFFFFF#000000##000000
##9782361.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802E
Deuteranopia (green-blind)
#94863A
Tritanopia (blue-blind)
#A37872
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978236;
/* rgb */ color: rgb(151, 130, 54);
/* oklch */ color: oklch(61.1% 0.099 93.8);
Tailwind
colors: {
  custom: {
    50: '#b8a670',
    500: '#978236',
    950: '#000000',
  },
}
SCSS
$custom: #978236;
$custom-light: #b8a670;
$custom-dark: #000000;
JSON
{
  "hex": "#978236",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 47.01,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.09865,
    "h": 93.8
  },
  "luminance": 0.22811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978236

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

Preview Lab → · Contrast checker → · Palette generator →

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