#979A24#979A24

#979A24 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.134 H 111.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#979A24
RGBrgb(151, 154, 36)
HSLhsl(62, 62%, 37%)
HSVhsv(62, 77%, 60%)
CMYKcmyk(1.9%, 0%, 76.6%, 39.6%)
CIE-LABlab(61.50, -15.24, 56.98)
CIE-LCHlch(61.50, 58.98, 104.97°)
OKLaboklab(66.29% -0.048 0.1249)
OKLCHoklch(66.29% 0.134 111)
XYZxyz(24.6374, 29.8186, 6.1265)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A24 #27249A
analogous
#9A6224 #979A24 #5C9A24
triadic
#979A24 #24979A #9A2497
tetradic
#979A24 #249A62 #27249A #9A245C
square
#979A24 #249A62 #27249A #9A245C
split-complementary
#979A24 #245C9A #62249A
monochromatic
#36370D #666818 #979A24 #C8CC30 #D6DA5F

Accessibility & contrast

On white

3.02
#979A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#979A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979A24
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A24#FFFFFF#000000##000000
##979A241.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69306
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#A29084
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979a24;
/* rgb */ color: rgb(151, 154, 36);
/* oklch */ color: oklch(66.3% 0.134 111.0);
Tailwind
colors: {
  custom: {
    50: '#b9b769',
    500: '#979a24',
    950: '#000000',
  },
}
SCSS
$custom: #979a24;
$custom-light: #b9b769;
$custom-dark: #000000;
JSON
{
  "hex": "#979a24",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 61.525,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.13378,
    "h": 111
  },
  "luminance": 0.29818
}

Semantic roles & 50–950 ramp

primary
#979A24
secondary
#5E5BBF
accent
#43E547
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979A24

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

Preview Lab → · Contrast checker → · Palette generator →

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