#979B24#979B24

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

Color values

HEX#979B24
RGBrgb(151, 155, 36)
HSLhsl(62, 62%, 37%)
HSVhsv(62, 77%, 61%)
CMYKcmyk(2.6%, 0%, 76.8%, 39.2%)
CIE-LABlab(61.78, -15.76, 57.24)
CIE-LCHlch(61.78, 59.37, 105.39°)
OKLaboklab(66.51% -0.0495 0.1254)
OKLCHoklch(66.51% 0.135 111.5)
XYZxyz(24.8031, 30.1500, 6.1817)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979B24 #28249B
analogous
#9B6424 #979B24 #5B9B24
triadic
#979B24 #24979B #9B2497
tetradic
#979B24 #249B64 #28249B #9B245B
square
#979B24 #249B64 #28249B #9B245B
split-complementary
#979B24 #245B9B #64249B
monochromatic
#36380D #676918 #979B24 #C7CD30 #D6DA5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979B24#FFFFFF#000000##000000
##979B241.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)
#A79405
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#A29185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979b24;
/* rgb */ color: rgb(151, 155, 36);
/* oklch */ color: oklch(66.5% 0.135 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b869',
    500: '#979b24',
    950: '#000000',
  },
}
SCSS
$custom: #979b24;
$custom-light: #b9b869;
$custom-dark: #000000;
JSON
{
  "hex": "#979b24",
  "rgb": {
    "r": 151,
    "g": 155,
    "b": 36
  },
  "hsl": {
    "h": 62.017,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66514,
    "c": 0.13483,
    "h": 111.5
  },
  "luminance": 0.30149
}

Semantic roles & 50–950 ramp

primary
#979B24
secondary
#5F5CBF
accent
#42E548
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979B24

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

Preview Lab → · Contrast checker → · Palette generator →

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