#979D25#979D25

#979D25 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.0% C 0.136 H 112.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#979D25
RGBrgb(151, 157, 37)
HSLhsl(63, 62%, 38%)
HSVhsv(63, 76%, 62%)
CMYKcmyk(3.8%, 0%, 76.4%, 38.4%)
CIE-LABlab(62.36, -16.75, 57.44)
CIE-LCHlch(62.36, 59.84, 106.26°)
OKLaboklab(66.98% -0.0521 0.126)
OKLCHoklch(66.98% 0.136 112.5)
XYZxyz(25.1542, 30.8274, 6.3751)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D25 #2B259D
analogous
#9D6725 #979D25 #5B9D25
triadic
#979D25 #25979D #9D2597
tetradic
#979D25 #259D67 #2B259D #9D255B
square
#979D25 #259D67 #2B259D #9D255B
split-complementary
#979D25 #255B9D #67259D
monochromatic
#383A0E #676B19 #979D25 #C7CE31 #D4DA62

Accessibility & contrast

On white

2.93
#979D25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#979D25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979D25
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979D25#FFFFFF#000000##000000
##979D251.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99507
Deuteranopia (green-blind)
#AA982F
Tritanopia (blue-blind)
#A29386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979d25;
/* rgb */ color: rgb(151, 157, 37);
/* oklch */ color: oklch(67.0% 0.136 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9b96a',
    500: '#979d25',
    950: '#000000',
  },
}
SCSS
$custom: #979d25;
$custom-light: #b9b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#979d25",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 37
  },
  "hsl": {
    "h": 63,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66979,
    "c": 0.1364,
    "h": 112.5
  },
  "luminance": 0.30827
}

Semantic roles & 50–950 ramp

primary
#979D25
secondary
#635EBF
accent
#43E54B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979D25

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

Preview Lab → · Contrast checker → · Palette generator →

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