#978832#978832

#978832 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.107 H 99.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#978832
RGBrgb(151, 136, 50)
HSLhsl(51, 50%, 39%)
HSVhsv(51, 67%, 59%)
CMYKcmyk(0%, 9.9%, 66.9%, 40.8%)
CIE-LABlab(56.50, -4.86, 46.59)
CIE-LCHlch(56.50, 46.84, 95.96°)
OKLaboklab(62.34% -0.0173 0.1054)
OKLCHoklch(62.34% 0.107 99.3)
XYZxyz(22.1433, 24.4189, 6.5639)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978832 #324197
analogous
#975632 #978832 #749732
triadic
#978832 #329788 #883297
tetradic
#978832 #329756 #324197 #973274
square
#978832 #329756 #324197 #973274
split-complementary
#978832 #327497 #563297
monochromatic
#3B3514 #695F23 #978832 #C1AF45 #D1C373

Accessibility & contrast

On white

3.57
#978832 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#978832 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978832
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978832#FFFFFF#000000##000000
##9788321.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958427
Deuteranopia (green-blind)
#998A37
Tritanopia (blue-blind)
#A37E76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978832;
/* rgb */ color: rgb(151, 136, 50);
/* oklch */ color: oklch(62.3% 0.107 99.3);
Tailwind
colors: {
  custom: {
    50: '#b8aa6e',
    500: '#978832',
    950: '#000000',
  },
}
SCSS
$custom: #978832;
$custom-light: #b8aa6e;
$custom-dark: #000000;
JSON
{
  "hex": "#978832",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 50
  },
  "hsl": {
    "h": 51.089,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62339,
    "c": 0.10683,
    "h": 99.3
  },
  "luminance": 0.24418
}

Semantic roles & 50–950 ramp

primary
#978832
secondary
#6C78B9
accent
#63DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978832

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

Preview Lab → · Contrast checker → · Palette generator →

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