#978E1A#978E1A

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

Color values

HEX#978E1A
RGBrgb(151, 142, 26)
HSLhsl(56, 71%, 35%)
HSVhsv(56, 83%, 59%)
CMYKcmyk(0%, 6%, 82.8%, 40.8%)
CIE-LABlab(58.04, -9.26, 56.98)
CIE-LCHlch(58.04, 57.73, 99.23°)
OKLaboklab(63.51% -0.0322 0.1229)
OKLCHoklch(63.51% 0.127 104.7)
XYZxyz(22.6230, 26.0008, 4.8041)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E1A #1A2397
analogous
#97501A #978E1A #62971A
triadic
#978E1A #1A978E #8E1A97
tetradic
#978E1A #1A9750 #1A2397 #971A62
square
#978E1A #1A9750 #1A2397 #971A62
split-complementary
#978E1A #1A6297 #501A97
monochromatic
#2F2C08 #635D11 #978E1A #CBBF23 #E0D54B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978E1A#FFFFFF#000000##000000
##978E1A1.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)
#9E8E24
Tritanopia (blue-blind)
#A38479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978e1a;
/* rgb */ color: rgb(151, 142, 26);
/* oklch */ color: oklch(63.5% 0.127 104.7);
Tailwind
colors: {
  custom: {
    50: '#b9ae63',
    500: '#978e1a',
    950: '#000000',
  },
}
SCSS
$custom: #978e1a;
$custom-light: #b9ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#978e1a",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 55.68,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63509,
    "c": 0.12709,
    "h": 104.7
  },
  "luminance": 0.26
}

Semantic roles & 50–950 ramp

primary
#978E1A
secondary
#4B53C2
accent
#47ED3A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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