#978D1E#978D1E

#978D1E is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.124 H 104.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#978D1E
RGBrgb(151, 141, 30)
HSLhsl(55, 67%, 35%)
HSVhsv(55, 80%, 59%)
CMYKcmyk(0%, 6.6%, 80.1%, 40.8%)
CIE-LABlab(57.77, -8.58, 55.54)
CIE-LCHlch(57.77, 56.20, 98.79°)
OKLaboklab(63.31% -0.03 0.1206)
OKLCHoklch(63.31% 0.124 104)
XYZxyz(22.5227, 25.7238, 5.0069)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D1E #1E2897
analogous
#97501E #978D1E #65971E
triadic
#978D1E #1E978D #8D1E97
tetradic
#978D1E #1E9750 #1E2897 #971E65
square
#978D1E #1E9750 #1E2897 #971E65
split-complementary
#978D1E #1E6597 #501E97
monochromatic
#312E0A #645D14 #978D1E #CABD28 #DDD153

Accessibility & contrast

On white

3.42
#978D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#978D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D1E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D1E#FFFFFF#000000##000000
##978D1E1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9E8D27
Tritanopia (blue-blind)
#A38379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d1e;
/* rgb */ color: rgb(151, 141, 30);
/* oklch */ color: oklch(63.3% 0.124 104.0);
Tailwind
colors: {
  custom: {
    50: '#b9ae64',
    500: '#978d1e',
    950: '#000000',
  },
}
SCSS
$custom: #978d1e;
$custom-light: #b9ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#978d1e",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 55.041,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63305,
    "c": 0.12431,
    "h": 104
  },
  "luminance": 0.25723
}

Semantic roles & 50–950 ramp

primary
#978D1E
secondary
#515AC0
accent
#4CEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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