#978532#978532

#978532 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.104 H 96.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#978532
RGBrgb(151, 133, 50)
HSLhsl(49, 50%, 39%)
HSVhsv(49, 67%, 59%)
CMYKcmyk(0%, 11.9%, 66.9%, 40.8%)
CIE-LABlab(55.67, -3.21, 45.71)
CIE-LCHlch(55.67, 45.82, 94.01°)
OKLaboklab(61.68% -0.0126 0.1036)
OKLCHoklch(61.68% 0.104 96.9)
XYZxyz(21.7267, 23.5857, 6.4251)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978532 #324497
analogous
#975332 #978532 #779732
triadic
#978532 #329785 #853297
tetradic
#978532 #329753 #324497 #973277
square
#978532 #329753 #324497 #973277
split-complementary
#978532 #327797 #533297
monochromatic
#3B3414 #695D23 #978532 #C1AB45 #D1C073

Accessibility & contrast

On white

3.67
#978532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#978532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978532
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978532#FFFFFF#000000##000000
##9785321.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928228
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#A37B74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978532;
/* rgb */ color: rgb(151, 133, 50);
/* oklch */ color: oklch(61.7% 0.104 96.9);
Tailwind
colors: {
  custom: {
    50: '#b9a86e',
    500: '#978532',
    950: '#000000',
  },
}
SCSS
$custom: #978532;
$custom-light: #b9a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#978532",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 49.307,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61678,
    "c": 0.10432,
    "h": 96.9
  },
  "luminance": 0.23585
}

Semantic roles & 50–950 ramp

primary
#978532
secondary
#6C7AB9
accent
#67DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978532

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

Preview Lab → · Contrast checker → · Palette generator →

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