#979E19#979E19

#979E19 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.1% C 0.143 H 112.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#979E19
RGBrgb(151, 158, 25)
HSLhsl(63, 73%, 36%)
HSVhsv(63, 84%, 62%)
CMYKcmyk(4.4%, 0%, 84.2%, 38%)
CIE-LABlab(62.60, -17.71, 61.14)
CIE-LCHlch(62.60, 63.66, 106.15°)
OKLaboklab(67.15% -0.0557 0.1318)
OKLCHoklch(67.15% 0.143 112.9)
XYZxyz(25.1657, 31.1038, 5.5975)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E19 #20199E
analogous
#9E6219 #979E19 #549E19
triadic
#979E19 #19979E #9E1997
tetradic
#979E19 #199E62 #20199E #9E1954
square
#979E19 #199E62 #20199E #9E1954
split-complementary
#979E19 #19549E #62199E
monochromatic
#323408 #656911 #979E19 #C9D321 #DBE34E

Accessibility & contrast

On white

2.91
#979E19 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#979E19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E19
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E19#FFFFFF#000000##000000
##979E191.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB9927
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979e19;
/* rgb */ color: rgb(151, 158, 25);
/* oklch */ color: oklch(67.1% 0.143 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9ba65',
    500: '#979e19',
    950: '#000000',
  },
}
SCSS
$custom: #979e19;
$custom-light: #b9ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#979e19",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 25
  },
  "hsl": {
    "h": 63.158,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67149,
    "c": 0.14308,
    "h": 112.9
  },
  "luminance": 0.31103
}

Semantic roles & 50–950 ramp

primary
#979E19
secondary
#544EC5
accent
#38EF42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979E19

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

Preview Lab → · Contrast checker → · Palette generator →

#979E19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva