#979E15#979E15

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

Color values

HEX#979E15
RGBrgb(151, 158, 21)
HSLhsl(63, 77%, 35%)
HSVhsv(63, 87%, 62%)
CMYKcmyk(4.4%, 0%, 86.7%, 38%)
CIE-LABlab(62.58, -17.82, 62.07)
CIE-LCHlch(62.58, 64.57, 106.02°)
OKLaboklab(67.13% -0.0563 0.1331)
OKLCHoklch(67.13% 0.145 112.9)
XYZxyz(25.1256, 31.0878, 5.3863)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E15 #1C159E
analogous
#9E6115 #979E15 #529E15
triadic
#979E15 #15979E #9E1597
tetradic
#979E15 #159E61 #1C159E #9E1552
square
#979E15 #159E61 #1C159E #9E1552
split-complementary
#979E15 #15529E #61159E
monochromatic
#303207 #63680E #979E15 #CBD41C #DEE747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979E15#FFFFFF#000000##000000
##979E151.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)
#AB9925
Tritanopia (blue-blind)
#A29486
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979e15;
/* rgb */ color: rgb(151, 158, 21);
/* oklch */ color: oklch(67.1% 0.145 112.9);
Tailwind
colors: {
  custom: {
    50: '#baba64',
    500: '#979e15',
    950: '#000000',
  },
}
SCSS
$custom: #979e15;
$custom-light: #baba64;
$custom-dark: #000000;
JSON
{
  "hex": "#979e15",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 63.066,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.67134,
    "c": 0.14452,
    "h": 112.9
  },
  "luminance": 0.31087
}

Semantic roles & 50–950 ramp

primary
#979E15
secondary
#4E47C7
accent
#35F33E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979E15

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

Preview Lab → · Contrast checker → · Palette generator →

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