#978D1D#978D1D

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

Color values

HEX#978D1D
RGBrgb(151, 141, 29)
HSLhsl(55, 68%, 35%)
HSVhsv(55, 81%, 59%)
CMYKcmyk(0%, 6.6%, 80.8%, 40.8%)
CIE-LABlab(57.77, -8.62, 55.85)
CIE-LCHlch(57.77, 56.51, 98.77°)
OKLaboklab(63.3% -0.0302 0.1211)
OKLCHoklch(63.3% 0.125 104)
XYZxyz(22.5102, 25.7187, 4.9407)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D1D #1D2797
analogous
#97501D #978D1D #64971D
triadic
#978D1D #1D978D #8D1D97
tetradic
#978D1D #1D9750 #1D2797 #971D64
square
#978D1D #1D9750 #1D2797 #971D64
split-complementary
#978D1D #1D6497 #501D97
monochromatic
#302D09 #645D13 #978D1D #CABD27 #DED251

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978D1D#FFFFFF#000000##000000
##978D1D1.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)
#9E8D26
Tritanopia (blue-blind)
#A38378
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d1d;
/* rgb */ color: rgb(151, 141, 29);
/* oklch */ color: oklch(63.3% 0.125 104.0);
Tailwind
colors: {
  custom: {
    50: '#b9ae64',
    500: '#978d1d',
    950: '#000000',
  },
}
SCSS
$custom: #978d1d;
$custom-light: #b9ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#978d1d",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 55.082,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.633,
    "c": 0.1248,
    "h": 104
  },
  "luminance": 0.25718
}

Semantic roles & 50–950 ramp

primary
#978D1D
secondary
#4F59C0
accent
#4BEB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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