#978C2C#978C2C

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

Color values

HEX#978C2C
RGBrgb(151, 140, 44)
HSLhsl(54, 55%, 38%)
HSVhsv(54, 71%, 59%)
CMYKcmyk(0%, 7.3%, 70.9%, 40.8%)
CIE-LABlab(57.58, -7.40, 50.26)
CIE-LCHlch(57.58, 50.80, 98.37°)
OKLaboklab(63.18% -0.0252 0.1121)
OKLCHoklch(63.18% 0.115 102.7)
XYZxyz(22.5962, 25.5183, 6.1177)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C2C #2C3797
analogous
#97562C #978C2C #6C972C
triadic
#978C2C #2C978C #8C2C97
tetradic
#978C2C #2C9756 #2C3797 #972C6C
square
#978C2C #2C9756 #2C3797 #972C6C
split-complementary
#978C2C #2C6C97 #562C97
monochromatic
#383410 #68601E #978C2C #C6B73A #D4C96A

Accessibility & contrast

On white

3.44
#978C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#978C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C2C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C2C#FFFFFF#000000##000000
##978C2C1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871E
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#A38279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978c2c;
/* rgb */ color: rgb(151, 140, 44);
/* oklch */ color: oklch(63.2% 0.115 102.7);
Tailwind
colors: {
  custom: {
    50: '#b9ad6b',
    500: '#978c2c',
    950: '#000000',
  },
}
SCSS
$custom: #978c2c;
$custom-light: #b9ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#978c2c",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 53.832,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63175,
    "c": 0.11494,
    "h": 102.7
  },
  "luminance": 0.25517
}

Semantic roles & 50–950 ramp

primary
#978C2C
secondary
#656DBA
accent
#59DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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