#979E18#979E18

#979E18 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#979E18
RGBrgb(151, 158, 24)
HSLhsl(63, 74%, 36%)
HSVhsv(63, 85%, 62%)
CMYKcmyk(4.4%, 0%, 84.8%, 38%)
CIE-LABlab(62.59, -17.74, 61.38)
CIE-LCHlch(62.59, 63.90, 106.12°)
OKLaboklab(67.15% -0.0559 0.1321)
OKLCHoklch(67.15% 0.143 112.9)
XYZxyz(25.1551, 31.0996, 5.5417)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E18 #1F189E
analogous
#9E6218 #979E18 #549E18
triadic
#979E18 #18979E #9E1897
tetradic
#979E18 #189E62 #1F189E #9E1854
square
#979E18 #189E62 #1F189E #9E1854
split-complementary
#979E18 #18549E #62189E
monochromatic
#313408 #646910 #979E18 #CAD320 #DCE44D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979E18#FFFFFF#000000##000000
##979E181.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: #979e18;
/* rgb */ color: rgb(151, 158, 24);
/* oklch */ color: oklch(67.1% 0.143 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9ba65',
    500: '#979e18',
    950: '#000000',
  },
}
SCSS
$custom: #979e18;
$custom-light: #b9ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#979e18",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 24
  },
  "hsl": {
    "h": 63.134,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67145,
    "c": 0.14346,
    "h": 112.9
  },
  "luminance": 0.31099
}

Semantic roles & 50–950 ramp

primary
#979E18
secondary
#524CC6
accent
#38F041
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979E18

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

Preview Lab → · Contrast checker → · Palette generator →

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