#978E1E#978E1E

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

Color values

HEX#978E1E
RGBrgb(151, 142, 30)
HSLhsl(56, 67%, 35%)
HSVhsv(56, 80%, 59%)
CMYKcmyk(0%, 6%, 80.1%, 40.8%)
CIE-LABlab(58.06, -9.12, 55.80)
CIE-LCHlch(58.06, 56.54, 99.29°)
OKLaboklab(63.53% -0.0315 0.1212)
OKLCHoklch(63.53% 0.125 104.6)
XYZxyz(22.6709, 26.0200, 5.0562)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E1E #1E2797
analogous
#97511E #978E1E #63971E
triadic
#978E1E #1E978E #8E1E97
tetradic
#978E1E #1E9751 #1E2797 #971E63
square
#978E1E #1E9751 #1E2797 #971E63
split-complementary
#978E1E #1E6397 #511E97
monochromatic
#312E0A #645E14 #978E1E #CABE28 #DDD253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978E1E#FFFFFF#000000##000000
##978E1E1.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: #978e1e;
/* rgb */ color: rgb(151, 142, 30);
/* oklch */ color: oklch(63.5% 0.125 104.6);
Tailwind
colors: {
  custom: {
    50: '#b9ae65',
    500: '#978e1e',
    950: '#000000',
  },
}
SCSS
$custom: #978e1e;
$custom-light: #b9ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#978e1e",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 55.537,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6353,
    "c": 0.1252,
    "h": 104.6
  },
  "luminance": 0.26019
}

Semantic roles & 50–950 ramp

primary
#978E1E
secondary
#5159C0
accent
#4BEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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