#979F24#979F24

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

Color values

HEX#979F24
RGBrgb(151, 159, 36)
HSLhsl(64, 63%, 38%)
HSVhsv(64, 77%, 62%)
CMYKcmyk(5%, 0%, 77.4%, 37.6%)
CIE-LABlab(62.93, -17.82, 58.29)
CIE-LCHlch(62.93, 60.96, 107.00°)
OKLaboklab(67.43% -0.0552 0.1277)
OKLCHoklch(67.43% 0.139 113.4)
XYZxyz(25.4799, 31.5035, 6.4073)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F24 #2C249F
analogous
#9F6924 #979F24 #5A9F24
triadic
#979F24 #24979F #9F2497
tetradic
#979F24 #249F69 #2C249F #9F245A
square
#979F24 #249F69 #2C249F #9F245A
split-complementary
#979F24 #245A9F #69249F
monochromatic
#383B0D #686D19 #979F24 #C6D030 #D4DB62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979F24#FFFFFF#000000##000000
##979F241.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)
#AB9702
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#A19588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f24;
/* rgb */ color: rgb(151, 159, 36);
/* oklch */ color: oklch(67.4% 0.139 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb6a',
    500: '#979f24',
    950: '#000000',
  },
}
SCSS
$custom: #979f24;
$custom-light: #b9bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#979f24",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 36
  },
  "hsl": {
    "h": 63.902,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67433,
    "c": 0.13909,
    "h": 113.4
  },
  "luminance": 0.31503
}

Semantic roles & 50–950 ramp

primary
#979F24
secondary
#655EC1
accent
#42E64C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979F24

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

Preview Lab → · Contrast checker → · Palette generator →

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