#978329#978329

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

Color values

HEX#978329
RGBrgb(151, 131, 41)
HSLhsl(49, 57%, 38%)
HSVhsv(49, 73%, 59%)
CMYKcmyk(0%, 13.2%, 72.8%, 40.8%)
CIE-LABlab(55.04, -2.62, 48.96)
CIE-LCHlch(55.04, 49.03, 93.06°)
OKLaboklab(61.16% -0.012 0.1088)
OKLCHoklch(61.16% 0.109 96.3)
XYZxyz(21.2801, 22.9731, 5.4108)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978329 #293D97
analogous
#974C29 #978329 #749729
triadic
#978329 #299783 #832997
tetradic
#978329 #29974C #293D97 #972974
square
#978329 #29974C #293D97 #972974
split-complementary
#978329 #297497 #4C2997
monochromatic
#372F0F #67591C #978329 #C7AD36 #D5C165

Accessibility & contrast

On white

3.75
#978329 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##978329#FFFFFF#000000##000000
##9783291.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978329;
/* rgb */ color: rgb(151, 131, 41);
/* oklch */ color: oklch(61.2% 0.109 96.3);
Tailwind
colors: {
  custom: {
    50: '#b9a669',
    500: '#978329',
    950: '#000000',
  },
}
SCSS
$custom: #978329;
$custom-light: #b9a669;
$custom-dark: #000000;
JSON
{
  "hex": "#978329",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 41
  },
  "hsl": {
    "h": 49.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.10949,
    "h": 96.3
  },
  "luminance": 0.22972
}

Semantic roles & 50–950 ramp

primary
#978329
secondary
#6171BB
accent
#63E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978329

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

Preview Lab → · Contrast checker → · Palette generator →

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