#978324#978324

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

Color values

HEX#978324
RGBrgb(151, 131, 36)
HSLhsl(50, 61%, 37%)
HSVhsv(50, 76%, 59%)
CMYKcmyk(0%, 13.2%, 76.2%, 40.8%)
CIE-LABlab(55.01, -2.86, 50.91)
CIE-LCHlch(55.01, 50.99, 93.22°)
OKLaboklab(61.12% -0.0133 0.112)
OKLCHoklch(61.12% 0.113 96.8)
XYZxyz(21.1983, 22.9404, 4.9801)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978324 #243897
analogous
#974A24 #978324 #729724
triadic
#978324 #249783 #832497
tetradic
#978324 #24974A #243897 #972472
square
#978324 #24974A #243897 #972472
split-complementary
#978324 #247297 #4A2497
monochromatic
#342D0C #665818 #978324 #C8AE30 #D8C35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978324#FFFFFF#000000##000000
##9783241.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)
#918013
Deuteranopia (green-blind)
#96862A
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978324;
/* rgb */ color: rgb(151, 131, 36);
/* oklch */ color: oklch(61.1% 0.113 96.8);
Tailwind
colors: {
  custom: {
    50: '#b9a666',
    500: '#978324',
    950: '#000000',
  },
}
SCSS
$custom: #978324;
$custom-light: #b9a666;
$custom-dark: #000000;
JSON
{
  "hex": "#978324",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 49.565,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61123,
    "c": 0.11274,
    "h": 96.8
  },
  "luminance": 0.22939
}

Semantic roles & 50–950 ramp

primary
#978324
secondary
#5A6BBD
accent
#5FE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978324

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

Preview Lab → · Contrast checker → · Palette generator →

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