#979D1E#979D1E

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

Color values

HEX#979D1E
RGBrgb(151, 157, 30)
HSLhsl(63, 68%, 37%)
HSVhsv(63, 81%, 62%)
CMYKcmyk(3.8%, 0%, 80.9%, 38.4%)
CIE-LABlab(62.33, -17.03, 59.58)
CIE-LCHlch(62.33, 61.96, 105.95°)
OKLaboklab(66.94% -0.0535 0.1293)
OKLCHoklch(66.94% 0.14 112.5)
XYZxyz(25.0547, 30.7876, 5.8508)
Luminance0.3079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D1E #241E9D
analogous
#9D641E #979D1E #589D1E
triadic
#979D1E #1E979D #9D1E97
tetradic
#979D1E #1E9D64 #241E9D #9D1E58
square
#979D1E #1E9D64 #241E9D #9D1E58
split-complementary
#979D1E #1E589D #641E9D
monochromatic
#34360A #666A14 #979D1E #C8D028 #D8DF57

Accessibility & contrast

On white

2.93
#979D1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#979D1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979D1E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979D1E#FFFFFF#000000##000000
##979D1E1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979d1e;
/* rgb */ color: rgb(151, 157, 30);
/* oklch */ color: oklch(66.9% 0.140 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9b967',
    500: '#979d1e',
    950: '#000000',
  },
}
SCSS
$custom: #979d1e;
$custom-light: #b9b967;
$custom-dark: #000000;
JSON
{
  "hex": "#979d1e",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 62.835,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66941,
    "c": 0.13993,
    "h": 112.5
  },
  "luminance": 0.30787
}

Semantic roles & 50–950 ramp

primary
#979D1E
secondary
#5A54C2
accent
#3DEB45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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