#978132#978132

#978132 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.101 H 93.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#978132
RGBrgb(151, 129, 50)
HSLhsl(47, 50%, 39%)
HSVhsv(47, 67%, 59%)
CMYKcmyk(0%, 14.6%, 66.9%, 40.8%)
CIE-LABlab(54.57, -0.98, 44.53)
CIE-LCHlch(54.57, 44.54, 91.26°)
OKLaboklab(60.8% -0.0062 0.1011)
OKLCHoklch(60.8% 0.101 93.5)
XYZxyz(21.1895, 22.5112, 6.2460)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978132 #324897
analogous
#974F32 #978132 #7B9732
triadic
#978132 #329781 #813297
tetradic
#978132 #32974F #324897 #97327B
square
#978132 #32974F #324897 #97327B
split-complementary
#978132 #327B97 #4F3297
monochromatic
#3B3214 #695A23 #978132 #C1A645 #D1BC73

Accessibility & contrast

On white

3.82
#978132 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#978132 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978132
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978132#FFFFFF#000000##000000
##9781321.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F29
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#A37770
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978132;
/* rgb */ color: rgb(151, 129, 50);
/* oklch */ color: oklch(60.8% 0.101 93.5);
Tailwind
colors: {
  custom: {
    50: '#b9a56e',
    500: '#978132',
    950: '#000000',
  },
}
SCSS
$custom: #978132;
$custom-light: #b9a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#978132",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 50
  },
  "hsl": {
    "h": 46.931,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60804,
    "c": 0.10126,
    "h": 93.5
  },
  "luminance": 0.2251
}

Semantic roles & 50–950 ramp

primary
#978132
secondary
#6C7DB9
accent
#6CDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978132

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

Preview Lab → · Contrast checker → · Palette generator →

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