#978E2A#978E2A

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

Color values

HEX#978E2A
RGBrgb(151, 142, 42)
HSLhsl(55, 56%, 38%)
HSVhsv(55, 72%, 59%)
CMYKcmyk(0%, 6%, 72.2%, 40.8%)
CIE-LABlab(58.13, -8.59, 51.60)
CIE-LCHlch(58.13, 52.31, 99.45°)
OKLaboklab(63.61% -0.0288 0.1146)
OKLCHoklch(63.61% 0.118 104.1)
XYZxyz(22.8544, 26.0934, 6.0227)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E2A #2A3397
analogous
#97572A #978E2A #69972A
triadic
#978E2A #2A978E #8E2A97
tetradic
#978E2A #2A9757 #2A3397 #972A69
square
#978E2A #2A9757 #2A3397 #972A69
split-complementary
#978E2A #2A6997 #572A97
monochromatic
#37340F #67611D #978E2A #C7BB37 #D5CC67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978E2A#FFFFFF#000000##000000
##978E2A1.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)
#9B891A
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A2847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e2a;
/* rgb */ color: rgb(151, 142, 42);
/* oklch */ color: oklch(63.6% 0.118 104.1);
Tailwind
colors: {
  custom: {
    50: '#b9ae6a',
    500: '#978e2a',
    950: '#000000',
  },
}
SCSS
$custom: #978e2a;
$custom-light: #b9ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#978e2a",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 55.046,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63607,
    "c": 0.11817,
    "h": 104.1
  },
  "luminance": 0.26092
}

Semantic roles & 50–950 ramp

primary
#978E2A
secondary
#6269BB
accent
#55E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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