#978332#978332

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

Color values

HEX#978332
RGBrgb(151, 131, 50)
HSLhsl(48, 50%, 39%)
HSVhsv(48, 67%, 59%)
CMYKcmyk(0%, 13.2%, 66.9%, 40.8%)
CIE-LABlab(55.12, -2.10, 45.12)
CIE-LCHlch(55.12, 45.17, 92.66°)
OKLaboklab(61.24% -0.0094 0.1023)
OKLCHoklch(61.24% 0.103 95.3)
XYZxyz(21.4555, 23.0433, 6.3347)
Luminance0.2304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978332 #324697
analogous
#975132 #978332 #799732
triadic
#978332 #329783 #833297
tetradic
#978332 #329751 #324697 #973279
square
#978332 #329751 #324697 #973279
split-complementary
#978332 #327997 #513297
monochromatic
#3B3314 #695B23 #978332 #C1A945 #D1BE73

Accessibility & contrast

On white

3.74
#978332 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#978332 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978332
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978332#FFFFFF#000000##000000
##9783321.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#958736
Tritanopia (blue-blind)
#A37972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978332;
/* rgb */ color: rgb(151, 131, 50);
/* oklch */ color: oklch(61.2% 0.103 95.3);
Tailwind
colors: {
  custom: {
    50: '#b9a66e',
    500: '#978332',
    950: '#000000',
  },
}
SCSS
$custom: #978332;
$custom-light: #b9a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#978332",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 50
  },
  "hsl": {
    "h": 48.119,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6124,
    "c": 0.10274,
    "h": 95.3
  },
  "luminance": 0.23042
}

Semantic roles & 50–950 ramp

primary
#978332
secondary
#6C7BB9
accent
#6ADA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978332

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

Preview Lab → · Contrast checker → · Palette generator →

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