#979B22#979B22

#979B22 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.5% C 0.136 H 111.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#979B22
RGBrgb(151, 155, 34)
HSLhsl(62, 64%, 37%)
HSVhsv(62, 78%, 61%)
CMYKcmyk(2.6%, 0%, 78.1%, 39.2%)
CIE-LABlab(61.77, -15.84, 57.88)
CIE-LCHlch(61.77, 60.01, 105.31°)
OKLaboklab(66.5% -0.0499 0.1264)
OKLCHoklch(66.5% 0.136 111.5)
XYZxyz(24.7734, 30.1381, 6.0253)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979B22 #26229B
analogous
#9B6222 #979B22 #5B9B22
triadic
#979B22 #22979B #9B2297
tetradic
#979B22 #229B62 #26229B #9B225B
square
#979B22 #229B62 #26229B #9B225B
split-complementary
#979B22 #225B9B #62229B
monochromatic
#35370C #666917 #979B22 #C8CD2D #D7DB5C

Accessibility & contrast

On white

2.99
#979B22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#979B22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979B22
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979B22#FFFFFF#000000##000000
##979B221.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79400
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#A29185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979b22;
/* rgb */ color: rgb(151, 155, 34);
/* oklch */ color: oklch(66.5% 0.136 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b868',
    500: '#979b22',
    950: '#000000',
  },
}
SCSS
$custom: #979b22;
$custom-light: #b9b868;
$custom-dark: #000000;
JSON
{
  "hex": "#979b22",
  "rgb": {
    "r": 151,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 61.983,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66503,
    "c": 0.13589,
    "h": 111.5
  },
  "luminance": 0.30137
}

Semantic roles & 50–950 ramp

primary
#979B22
secondary
#5C59C0
accent
#41E746
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979B22

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

Preview Lab → · Contrast checker → · Palette generator →

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