#978E2C#978E2C

#978E2C is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.117 H 104.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#978E2C
RGBrgb(151, 142, 44)
HSLhsl(55, 55%, 38%)
HSVhsv(55, 71%, 59%)
CMYKcmyk(0%, 6%, 70.9%, 40.8%)
CIE-LABlab(58.14, -8.48, 50.82)
CIE-LCHlch(58.14, 51.52, 99.48°)
OKLaboklab(63.62% -0.0283 0.1133)
OKLCHoklch(63.62% 0.117 104)
XYZxyz(22.8911, 26.1081, 6.2160)
Luminance0.2611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E2C #2C3597
analogous
#97582C #978E2C #6A972C
triadic
#978E2C #2C978E #8E2C97
tetradic
#978E2C #2C9758 #2C3597 #972C6A
square
#978E2C #2C9758 #2C3597 #972C6A
split-complementary
#978E2C #2C6A97 #582C97
monochromatic
#383510 #68611E #978E2C #C6BA3A #D4CB6A

Accessibility & contrast

On white

3.38
#978E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#978E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E2C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E2C#FFFFFF#000000##000000
##978E2C1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891D
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#A2847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e2c;
/* rgb */ color: rgb(151, 142, 44);
/* oklch */ color: oklch(63.6% 0.117 104.0);
Tailwind
colors: {
  custom: {
    50: '#b9ae6c',
    500: '#978e2c',
    950: '#000000',
  },
}
SCSS
$custom: #978e2c;
$custom-light: #b9ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#978e2c",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 54.953,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63623,
    "c": 0.11679,
    "h": 104
  },
  "luminance": 0.26107
}

Semantic roles & 50–950 ramp

primary
#978E2C
secondary
#656CBA
accent
#56DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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