#978E32#978E32

#978E32 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.112 H 103.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#978E32
RGBrgb(151, 142, 50)
HSLhsl(55, 50%, 39%)
HSVhsv(55, 67%, 59%)
CMYKcmyk(0%, 6%, 66.9%, 40.8%)
CIE-LABlab(58.19, -8.13, 48.35)
CIE-LCHlch(58.19, 49.03, 99.55°)
OKLaboklab(63.67% -0.0266 0.1092)
OKLCHoklch(63.67% 0.112 103.7)
XYZxyz(23.0121, 26.1565, 6.8535)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E32 #323B97
analogous
#975B32 #978E32 #6E9732
triadic
#978E32 #32978E #8E3297
tetradic
#978E32 #32975B #323B97 #97326E
square
#978E32 #32975B #323B97 #97326E
split-complementary
#978E32 #326E97 #5B3297
monochromatic
#3B3814 #696323 #978E32 #C1B645 #D1C873

Accessibility & contrast

On white

3.37
#978E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#978E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E32
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E32#FFFFFF#000000##000000
##978E321.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8926
Deuteranopia (green-blind)
#9D8E37
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e32;
/* rgb */ color: rgb(151, 142, 50);
/* oklch */ color: oklch(63.7% 0.112 103.7);
Tailwind
colors: {
  custom: {
    50: '#b8ae6f',
    500: '#978e32',
    950: '#000000',
  },
}
SCSS
$custom: #978e32;
$custom-light: #b8ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978e32",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 54.653,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63674,
    "c": 0.11235,
    "h": 103.7
  },
  "luminance": 0.26156
}

Semantic roles & 50–950 ramp

primary
#978E32
secondary
#6C73B9
accent
#5ADA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978E32

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

Preview Lab → · Contrast checker → · Palette generator →

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