#978E1D#978E1D

#978E1D is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.126 H 104.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#978E1D
RGBrgb(151, 142, 29)
HSLhsl(56, 68%, 35%)
HSVhsv(56, 81%, 59%)
CMYKcmyk(0%, 6%, 80.8%, 40.8%)
CIE-LABlab(58.05, -9.16, 56.10)
CIE-LCHlch(58.05, 56.85, 99.27°)
OKLaboklab(63.52% -0.0317 0.1216)
OKLCHoklch(63.52% 0.126 104.6)
XYZxyz(22.6583, 26.0150, 4.9900)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E1D #1D2697
analogous
#97511D #978E1D #63971D
triadic
#978E1D #1D978E #8E1D97
tetradic
#978E1D #1D9751 #1D2697 #971D63
square
#978E1D #1D9751 #1D2697 #971D63
split-complementary
#978E1D #1D6397 #511D97
monochromatic
#302D09 #645E13 #978E1D #CABE27 #DED351

Accessibility & contrast

On white

3.39
#978E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#978E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E1D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E1D#FFFFFF#000000##000000
##978E1D1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9E8E27
Tritanopia (blue-blind)
#A38479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978e1d;
/* rgb */ color: rgb(151, 142, 29);
/* oklch */ color: oklch(63.5% 0.126 104.6);
Tailwind
colors: {
  custom: {
    50: '#b9ae64',
    500: '#978e1d',
    950: '#000000',
  },
}
SCSS
$custom: #978e1d;
$custom-light: #b9ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#978e1d",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 55.574,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63524,
    "c": 0.1257,
    "h": 104.6
  },
  "luminance": 0.26014
}

Semantic roles & 50–950 ramp

primary
#978E1D
secondary
#4F58C0
accent
#4AEB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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