#979F19#979F19

#979F19 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#979F19
RGBrgb(151, 159, 25)
HSLhsl(64, 73%, 36%)
HSVhsv(64, 84%, 62%)
CMYKcmyk(5%, 0%, 84.3%, 37.6%)
CIE-LABlab(62.88, -18.22, 61.39)
CIE-LCHlch(62.88, 64.03, 106.53°)
OKLaboklab(67.38% -0.0571 0.1323)
OKLCHoklch(67.38% 0.144 113.4)
XYZxyz(25.3370, 31.4463, 5.6546)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F19 #21199F
analogous
#9F6419 #979F19 #549F19
triadic
#979F19 #19979F #9F1997
tetradic
#979F19 #199F64 #21199F #9F1954
square
#979F19 #199F64 #21199F #9F1954
split-complementary
#979F19 #19549F #64199F
monochromatic
#333508 #656A11 #979F19 #C9D421 #DAE34F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #979f19;
/* rgb */ color: rgb(151, 159, 25);
/* oklch */ color: oklch(67.4% 0.144 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb65',
    500: '#979f19',
    950: '#000000',
  },
}
SCSS
$custom: #979f19;
$custom-light: #b9bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#979f19",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 25
  },
  "hsl": {
    "h": 63.582,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6738,
    "c": 0.14412,
    "h": 113.4
  },
  "luminance": 0.31446
}

Semantic roles & 50–950 ramp

primary
#979F19
secondary
#554EC6
accent
#38F043
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979F19

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

Preview Lab → · Contrast checker → · Palette generator →

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