#979D18#979D18

#979D18 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.9% C 0.142 H 112.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#979D18
RGBrgb(151, 157, 24)
HSLhsl(63, 73%, 35%)
HSVhsv(63, 85%, 62%)
CMYKcmyk(3.8%, 0%, 84.7%, 38.4%)
CIE-LABlab(62.30, -17.22, 61.14)
CIE-LCHlch(62.30, 63.52, 105.73°)
OKLaboklab(66.92% -0.0544 0.1316)
OKLCHoklch(66.92% 0.142 112.5)
XYZxyz(24.9852, 30.7598, 5.4851)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D18 #1E189D
analogous
#9D6118 #979D18 #549D18
triadic
#979D18 #18979D #9D1897
tetradic
#979D18 #189D61 #1E189D #9D1854
square
#979D18 #189D61 #1E189D #9D1854
split-complementary
#979D18 #18549D #61189D
monochromatic
#313308 #646810 #979D18 #CAD220 #DDE44C

Accessibility & contrast

On white

2.94
#979D18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#979D18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979D18
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979D18#FFFFFF#000000##000000
##979D181.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AA9826
Tritanopia (blue-blind)
#A29386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979d18;
/* rgb */ color: rgb(151, 157, 24);
/* oklch */ color: oklch(66.9% 0.142 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9b964',
    500: '#979d18',
    950: '#000000',
  },
}
SCSS
$custom: #979d18;
$custom-light: #b9b964;
$custom-dark: #000000;
JSON
{
  "hex": "#979d18",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 62.707,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66915,
    "c": 0.14243,
    "h": 112.5
  },
  "luminance": 0.30759
}

Semantic roles & 50–950 ramp

primary
#979D18
secondary
#514BC5
accent
#38F040
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979D18

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

Preview Lab → · Contrast checker → · Palette generator →

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