#978E26#978E26

#978E26 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.121 H 104.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#978E26
RGBrgb(151, 142, 38)
HSLhsl(55, 60%, 37%)
HSVhsv(55, 75%, 59%)
CMYKcmyk(0%, 6%, 74.8%, 40.8%)
CIE-LABlab(58.10, -8.79, 53.10)
CIE-LCHlch(58.10, 53.82, 99.40°)
OKLaboklab(63.58% -0.0298 0.117)
OKLCHoklch(63.58% 0.121 104.3)
XYZxyz(22.7863, 26.0662, 5.6644)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E26 #262F97
analogous
#975626 #978E26 #689726
triadic
#978E26 #26978E #8E2697
tetradic
#978E26 #269756 #262F97 #972668
square
#978E26 #269756 #262F97 #972668
split-complementary
#978E26 #266897 #562697
monochromatic
#35320D #66601A #978E26 #C8BC32 #D7CE60

Accessibility & contrast

On white

3.38
#978E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#978E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E26
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E26#FFFFFF#000000##000000
##978E261.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8912
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#A3847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e26;
/* rgb */ color: rgb(151, 142, 38);
/* oklch */ color: oklch(63.6% 0.121 104.3);
Tailwind
colors: {
  custom: {
    50: '#b9ae68',
    500: '#978e26',
    950: '#000000',
  },
}
SCSS
$custom: #978e26;
$custom-light: #b9ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#978e26",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 55.221,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63578,
    "c": 0.12075,
    "h": 104.3
  },
  "luminance": 0.26065
}

Semantic roles & 50–950 ramp

primary
#978E26
secondary
#5C64BC
accent
#51E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978E26

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

Preview Lab → · Contrast checker → · Palette generator →

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