#979D10#979D10

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

Color values

HEX#979D10
RGBrgb(151, 157, 16)
HSLhsl(63, 82%, 34%)
HSVhsv(63, 90%, 62%)
CMYKcmyk(3.8%, 0%, 89.8%, 38.4%)
CIE-LABlab(62.28, -17.42, 62.83)
CIE-LCHlch(62.28, 65.20, 105.50°)
OKLaboklab(66.89% -0.0555 0.134)
OKLCHoklch(66.89% 0.145 112.5)
XYZxyz(24.9139, 30.7313, 5.1094)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D10 #16109D
analogous
#9D5D10 #979D10 #519D10
triadic
#979D10 #10979D #9D1097
tetradic
#979D10 #109D5D #16109D #9D1051
square
#979D10 #109D5D #16109D #9D1051
split-complementary
#979D10 #10519D #5D109D
monochromatic
#2C2E05 #62650A #979D10 #CCD516 #E4EB3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979D10#FFFFFF#000000##000000
##979D101.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)
#AA9822
Tritanopia (blue-blind)
#A29385
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979d10;
/* rgb */ color: rgb(151, 157, 16);
/* oklch */ color: oklch(66.9% 0.145 112.5);
Tailwind
colors: {
  custom: {
    50: '#bab962',
    500: '#979d10',
    950: '#000000',
  },
}
SCSS
$custom: #979d10;
$custom-light: #bab962;
$custom-dark: #000000;
JSON
{
  "hex": "#979d10",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 16
  },
  "hsl": {
    "h": 62.553,
    "s": 81.503,
    "l": 33.922
  },
  "oklch": {
    "l": 0.66888,
    "c": 0.14503,
    "h": 112.5
  },
  "luminance": 0.30731
}

Semantic roles & 50–950 ramp

primary
#979D10
secondary
#443ECA
accent
#30F838
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979D10

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

Preview Lab → · Contrast checker → · Palette generator →

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