#978C1E#978C1E

#978C1E is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.123 H 103.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#978C1E
RGBrgb(151, 140, 30)
HSLhsl(55, 67%, 35%)
HSVhsv(55, 80%, 59%)
CMYKcmyk(0%, 7.3%, 80.1%, 40.8%)
CIE-LABlab(57.49, -8.04, 55.29)
CIE-LCHlch(57.49, 55.87, 98.28°)
OKLaboklab(63.08% -0.0285 0.1201)
OKLCHoklch(63.08% 0.123 103.3)
XYZxyz(22.3760, 25.4302, 4.9579)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C1E #1E2997
analogous
#974F1E #978C1E #66971E
triadic
#978C1E #1E978C #8C1E97
tetradic
#978C1E #1E974F #1E2997 #971E66
square
#978C1E #1E974F #1E2997 #971E66
split-complementary
#978C1E #1E6697 #4F1E97
monochromatic
#312D0A #645D14 #978C1E #CABB28 #DDD053

Accessibility & contrast

On white

3.45
#978C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#978C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C1E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C1E#FFFFFF#000000##000000
##978C1E1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9D8C27
Tritanopia (blue-blind)
#A38278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978c1e;
/* rgb */ color: rgb(151, 140, 30);
/* oklch */ color: oklch(63.1% 0.123 103.3);
Tailwind
colors: {
  custom: {
    50: '#b9ad64',
    500: '#978c1e',
    950: '#000000',
  },
}
SCSS
$custom: #978c1e;
$custom-light: #b9ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#978c1e",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 54.545,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63081,
    "c": 0.12343,
    "h": 103.3
  },
  "luminance": 0.25429
}

Semantic roles & 50–950 ramp

primary
#978C1E
secondary
#515BC0
accent
#4EEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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