#978B32#978B32

#978B32 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.110 H 101.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#978B32
RGBrgb(151, 139, 50)
HSLhsl(53, 50%, 39%)
HSVhsv(53, 67%, 59%)
CMYKcmyk(0%, 7.9%, 66.9%, 40.8%)
CIE-LABlab(57.34, -6.50, 47.47)
CIE-LCHlch(57.34, 47.91, 97.80°)
OKLaboklab(63.01% -0.022 0.1073)
OKLCHoklch(63.01% 0.11 101.6)
XYZxyz(22.5718, 25.2758, 6.7068)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B32 #323E97
analogous
#975832 #978B32 #719732
triadic
#978B32 #32978B #8B3297
tetradic
#978B32 #329758 #323E97 #973271
square
#978B32 #329758 #323E97 #973271
split-complementary
#978B32 #327197 #583297
monochromatic
#3B3614 #696123 #978B32 #C1B345 #D1C573

Accessibility & contrast

On white

3.47
#978B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#978B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B32
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B32#FFFFFF#000000##000000
##978B321.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988727
Deuteranopia (green-blind)
#9B8C37
Tritanopia (blue-blind)
#A28179
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b32;
/* rgb */ color: rgb(151, 139, 50);
/* oklch */ color: oklch(63.0% 0.110 101.6);
Tailwind
colors: {
  custom: {
    50: '#b8ac6f',
    500: '#978b32',
    950: '#000000',
  },
}
SCSS
$custom: #978b32;
$custom-light: #b8ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978b32",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 52.871,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63005,
    "c": 0.10952,
    "h": 101.6
  },
  "luminance": 0.25275
}

Semantic roles & 50–950 ramp

primary
#978B32
secondary
#6C75B9
accent
#5FDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978B32

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

Preview Lab → · Contrast checker → · Palette generator →

#978B32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva