#979F18#979F18

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

Color values

HEX#979F18
RGBrgb(151, 159, 24)
HSLhsl(64, 74%, 36%)
HSVhsv(64, 85%, 62%)
CMYKcmyk(5%, 0%, 84.9%, 37.6%)
CIE-LABlab(62.88, -18.25, 61.63)
CIE-LCHlch(62.88, 64.27, 106.49°)
OKLaboklab(67.38% -0.0573 0.1327)
OKLCHoklch(67.38% 0.145 113.4)
XYZxyz(25.3264, 31.4421, 5.5988)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F18 #20189F
analogous
#9F6318 #979F18 #539F18
triadic
#979F18 #18979F #9F1897
tetradic
#979F18 #189F63 #20189F #9F1853
square
#979F18 #189F63 #20189F #9F1853
split-complementary
#979F18 #18539F #63189F
monochromatic
#323508 #646A10 #979F18 #C9D420 #DBE44D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979F18#FFFFFF#000000##000000
##979F181.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)
#AC9927
Tritanopia (blue-blind)
#A29587
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f18;
/* rgb */ color: rgb(151, 159, 24);
/* oklch */ color: oklch(67.4% 0.144 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb65',
    500: '#979f18',
    950: '#000000',
  },
}
SCSS
$custom: #979f18;
$custom-light: #b9bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#979f18",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 63.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67376,
    "c": 0.1445,
    "h": 113.4
  },
  "luminance": 0.31442
}

Semantic roles & 50–950 ramp

primary
#979F18
secondary
#544DC6
accent
#37F042
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979F18

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

Preview Lab → · Contrast checker → · Palette generator →

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