#978B45#978B45

#978B45 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.092 H 99.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#978B45
RGBrgb(151, 139, 69)
HSLhsl(51, 37%, 43%)
HSVhsv(51, 54%, 59%)
CMYKcmyk(0%, 7.9%, 54.3%, 40.8%)
CIE-LABlab(57.54, -5.07, 38.61)
CIE-LCHlch(57.54, 38.94, 97.48°)
OKLaboklab(63.22% -0.0156 0.0909)
OKLCHoklch(63.22% 0.092 99.8)
XYZxyz(23.0701, 25.4751, 9.3310)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B45 #455197
analogous
#976245 #978B45 #7A9745
triadic
#978B45 #45978B #8B4597
tetradic
#978B45 #459762 #455197 #97457A
square
#978B45 #459762 #455197 #97457A
split-complementary
#978B45 #457A97 #624597
monochromatic
#433E1F #6D6432 #978B45 #B7AB62 #CAC18C

Accessibility & contrast

On white

3.45
#978B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#978B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B45
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B45#FFFFFF#000000##000000
##978B451.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96883F
Deuteranopia (green-blind)
#9A8C48
Tritanopia (blue-blind)
#A1827B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b45;
/* rgb */ color: rgb(151, 139, 69);
/* oklch */ color: oklch(63.2% 0.092 99.8);
Tailwind
colors: {
  custom: {
    50: '#b8ac7b',
    500: '#978b45',
    950: '#000000',
  },
}
SCSS
$custom: #978b45;
$custom-light: #b8ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#978b45",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 51.22,
    "s": 37.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.09222,
    "h": 99.8
  },
  "luminance": 0.25474
}

Semantic roles & 50–950 ramp

primary
#978B45
secondary
#828AB6
accent
#6BCD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #978B45

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

Preview Lab → · Contrast checker → · Palette generator →

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