#978A1E#978A1E

#978A1E is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.122 H 102.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#978A1E
RGBrgb(151, 138, 30)
HSLhsl(54, 67%, 35%)
HSVhsv(54, 80%, 59%)
CMYKcmyk(0%, 8.6%, 80.1%, 40.8%)
CIE-LABlab(56.93, -6.96, 54.79)
CIE-LCHlch(56.93, 55.23, 97.24°)
OKLaboklab(62.63% -0.0254 0.119)
OKLCHoklch(62.63% 0.122 102.1)
XYZxyz(22.0864, 24.8510, 4.8614)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A1E #1E2B97
analogous
#974E1E #978A1E #67971E
triadic
#978A1E #1E978A #8A1E97
tetradic
#978A1E #1E974E #1E2B97 #971E67
square
#978A1E #1E974E #1E2B97 #971E67
split-complementary
#978A1E #1E6797 #4E1E97
monochromatic
#312D0A #645B14 #978A1E #CAB928 #DDCE53

Accessibility & contrast

On white

3.52
#978A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#978A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A1E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A1E#FFFFFF#000000##000000
##978A1E1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988601
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#A38076
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a1e;
/* rgb */ color: rgb(151, 138, 30);
/* oklch */ color: oklch(62.6% 0.122 102.1);
Tailwind
colors: {
  custom: {
    50: '#b9ab64',
    500: '#978a1e',
    950: '#000000',
  },
}
SCSS
$custom: #978a1e;
$custom-light: #b9ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#978a1e",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 53.554,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62634,
    "c": 0.1217,
    "h": 102.1
  },
  "luminance": 0.2485
}

Semantic roles & 50–950 ramp

primary
#978A1E
secondary
#515DC0
accent
#50EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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