#978E3C#978E3C

#978E3C is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.104 H 103.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#978E3C
RGBrgb(151, 142, 60)
HSLhsl(54, 43%, 41%)
HSVhsv(54, 60%, 59%)
CMYKcmyk(0%, 6%, 60.3%, 40.8%)
CIE-LABlab(58.28, -7.44, 43.89)
CIE-LCHlch(58.28, 44.52, 99.63°)
OKLaboklab(63.78% -0.0235 0.1012)
OKLCHoklch(63.78% 0.104 103.1)
XYZxyz(23.2519, 26.2524, 8.1165)
Luminance0.2625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E3C #3C4597
analogous
#97613C #978E3C #73973C
triadic
#978E3C #3C978E #8E3C97
tetradic
#978E3C #3C9761 #3C4597 #973C73
square
#978E3C #3C9761 #3C4597 #973C73
split-complementary
#978E3C #3C7397 #613C97
monochromatic
#3F3C19 #6B652B #978E3C #BBB155 #CDC581

Accessibility & contrast

On white

3.36
#978E3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#978E3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E3C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E3C#FFFFFF#000000##000000
##978E3C1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A33
Deuteranopia (green-blind)
#9D8E40
Tritanopia (blue-blind)
#A2857C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e3c;
/* rgb */ color: rgb(151, 142, 60);
/* oklch */ color: oklch(63.8% 0.104 103.1);
Tailwind
colors: {
  custom: {
    50: '#b8ae75',
    500: '#978e3c',
    950: '#000000',
  },
}
SCSS
$custom: #978e3c;
$custom-light: #b8ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#978e3c",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 60
  },
  "hsl": {
    "h": 54.066,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63775,
    "c": 0.10388,
    "h": 103.1
  },
  "luminance": 0.26252
}

Semantic roles & 50–950 ramp

primary
#978E3C
secondary
#787EB7
accent
#61D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #978E3C

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

Preview Lab → · Contrast checker → · Palette generator →

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