#979F22#979F22

#979F22 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.4% C 0.140 H 113.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#979F22
RGBrgb(151, 159, 34)
HSLhsl(64, 65%, 38%)
HSVhsv(64, 79%, 62%)
CMYKcmyk(5%, 0%, 78.6%, 37.6%)
CIE-LABlab(62.92, -17.90, 58.92)
CIE-LCHlch(62.92, 61.58, 106.90°)
OKLaboklab(67.42% -0.0556 0.1286)
OKLCHoklch(67.42% 0.14 113.4)
XYZxyz(25.4502, 31.4916, 6.2509)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F22 #2A229F
analogous
#9F6822 #979F22 #589F22
triadic
#979F22 #22979F #9F2297
tetradic
#979F22 #229F68 #2A229F #9F2258
square
#979F22 #229F68 #2A229F #9F2258
split-complementary
#979F22 #22589F #68229F
monochromatic
#373A0C #676D17 #979F22 #C7D12D #D5DD5F

Accessibility & contrast

On white

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

On black

7.30
#979F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F22
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F22#FFFFFF#000000##000000
##979F221.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#A29588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f22;
/* rgb */ color: rgb(151, 159, 34);
/* oklch */ color: oklch(67.4% 0.140 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb69',
    500: '#979f22',
    950: '#000000',
  },
}
SCSS
$custom: #979f22;
$custom-light: #b9bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#979f22",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 63.84,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67422,
    "c": 0.14012,
    "h": 113.4
  },
  "luminance": 0.31491
}

Semantic roles & 50–950 ramp

primary
#979F22
secondary
#625BC1
accent
#40E84B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979F22

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

Preview Lab → · Contrast checker → · Palette generator →

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