#979F16#979F16

#979F16 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.4% C 0.145 H 113.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#979F16
RGBrgb(151, 159, 22)
HSLhsl(64, 76%, 35%)
HSVhsv(64, 86%, 62%)
CMYKcmyk(5%, 0%, 86.2%, 37.6%)
CIE-LABlab(62.87, -18.30, 62.09)
CIE-LCHlch(62.87, 64.73, 106.43°)
OKLaboklab(67.37% -0.0576 0.1333)
OKLCHoklch(67.37% 0.145 113.4)
XYZxyz(25.3063, 31.4341, 5.4932)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F16 #1E169F
analogous
#9F6316 #979F16 #529F16
triadic
#979F16 #16979F #9F1697
tetradic
#979F16 #169F63 #1E169F #9F1652
square
#979F16 #169F63 #1E169F #9F1652
split-complementary
#979F16 #16529F #63169F
monochromatic
#313307 #64690F #979F16 #CAD51D #DDE64A

Accessibility & contrast

On white

2.88
#979F16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#979F16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F16
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F16#FFFFFF#000000##000000
##979F161.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AC9926
Tritanopia (blue-blind)
#A29587
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f16;
/* rgb */ color: rgb(151, 159, 22);
/* oklch */ color: oklch(67.4% 0.145 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb64',
    500: '#979f16',
    950: '#000000',
  },
}
SCSS
$custom: #979f16;
$custom-light: #babb64;
$custom-dark: #000000;
JSON
{
  "hex": "#979f16",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 63.504,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67368,
    "c": 0.14521,
    "h": 113.4
  },
  "luminance": 0.31434
}

Semantic roles & 50–950 ramp

primary
#979F16
secondary
#514AC7
accent
#36F241
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979F16

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

Preview Lab → · Contrast checker → · Palette generator →

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