#978326#978326

#978326 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.1% C 0.111 H 96.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#978326
RGBrgb(151, 131, 38)
HSLhsl(49, 60%, 37%)
HSVhsv(49, 75%, 59%)
CMYKcmyk(0%, 13.2%, 74.8%, 40.8%)
CIE-LABlab(55.02, -2.77, 50.15)
CIE-LCHlch(55.02, 50.22, 93.16°)
OKLaboklab(61.14% -0.0128 0.1108)
OKLCHoklch(61.14% 0.111 96.6)
XYZxyz(21.2297, 22.9530, 5.1455)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978326 #263A97
analogous
#974B26 #978326 #729726
triadic
#978326 #269783 #832697
tetradic
#978326 #26974B #263A97 #972672
square
#978326 #26974B #263A97 #972672
split-complementary
#978326 #267297 #4B2697
monochromatic
#352E0D #66591A #978326 #C8AD32 #D7C260

Accessibility & contrast

On white

3.76
#978326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#978326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978326
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978326#FFFFFF#000000##000000
##9783261.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918016
Deuteranopia (green-blind)
#96862C
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978326;
/* rgb */ color: rgb(151, 131, 38);
/* oklch */ color: oklch(61.1% 0.111 96.6);
Tailwind
colors: {
  custom: {
    50: '#b9a667',
    500: '#978326',
    950: '#000000',
  },
}
SCSS
$custom: #978326;
$custom-light: #b9a667;
$custom-dark: #000000;
JSON
{
  "hex": "#978326",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 49.381,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61137,
    "c": 0.11148,
    "h": 96.6
  },
  "luminance": 0.22952
}

Semantic roles & 50–950 ramp

primary
#978326
secondary
#5C6DBC
accent
#61E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978326

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

Preview Lab → · Contrast checker → · Palette generator →

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