#979E22#979E22

#979E22 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.139 H 112.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#979E22
RGBrgb(151, 158, 34)
HSLhsl(63, 65%, 38%)
HSVhsv(63, 78%, 62%)
CMYKcmyk(4.4%, 0%, 78.5%, 38%)
CIE-LABlab(62.63, -17.39, 58.66)
CIE-LCHlch(62.63, 61.18, 106.51°)
OKLaboklab(67.19% -0.0542 0.1281)
OKLCHoklch(67.19% 0.139 112.9)
XYZxyz(25.2789, 31.1491, 6.1938)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E22 #29229E
analogous
#9E6722 #979E22 #599E22
triadic
#979E22 #22979E #9E2297
tetradic
#979E22 #229E67 #29229E #9E2259
square
#979E22 #229E67 #29229E #9E2259
split-complementary
#979E22 #22599E #67229E
monochromatic
#37390C #676C17 #979E22 #C7D02D #D5DC5E

Accessibility & contrast

On white

2.90
#979E22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#979E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E22
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E22#FFFFFF#000000##000000
##979E221.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA992D
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979e22;
/* rgb */ color: rgb(151, 158, 34);
/* oklch */ color: oklch(67.2% 0.139 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9ba68',
    500: '#979e22',
    950: '#000000',
  },
}
SCSS
$custom: #979e22;
$custom-light: #b9ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#979e22",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 63.387,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67192,
    "c": 0.13905,
    "h": 112.9
  },
  "luminance": 0.31149
}

Semantic roles & 50–950 ramp

primary
#979E22
secondary
#615BC1
accent
#40E84A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979E22

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

Preview Lab → · Contrast checker → · Palette generator →

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