#979E25#979E25

#979E25 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.137 H 112.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#979E25
RGBrgb(151, 158, 37)
HSLhsl(63, 62%, 38%)
HSVhsv(63, 77%, 62%)
CMYKcmyk(4.4%, 0%, 76.6%, 38%)
CIE-LABlab(62.65, -17.26, 57.71)
CIE-LCHlch(62.65, 60.24, 106.66°)
OKLaboklab(67.21% -0.0536 0.1266)
OKLCHoklch(67.21% 0.137 112.9)
XYZxyz(25.3241, 31.1672, 6.4318)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E25 #2C259E
analogous
#9E6825 #979E25 #5A9E25
triadic
#979E25 #25979E #9E2597
tetradic
#979E25 #259E68 #2C259E #9E255A
square
#979E25 #259E68 #2C259E #9E255A
split-complementary
#979E25 #255A9E #68259E
monochromatic
#383B0E #686C19 #979E25 #C6CF31 #D4DA63

Accessibility & contrast

On white

2.90
#979E25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#979E25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E25
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E25#FFFFFF#000000##000000
##979E251.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9606
Deuteranopia (green-blind)
#AA992F
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979e25;
/* rgb */ color: rgb(151, 158, 37);
/* oklch */ color: oklch(67.2% 0.137 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9ba6a',
    500: '#979e25',
    950: '#000000',
  },
}
SCSS
$custom: #979e25;
$custom-light: #b9ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#979e25",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 37
  },
  "hsl": {
    "h": 63.471,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67209,
    "c": 0.13747,
    "h": 112.9
  },
  "luminance": 0.31167
}

Semantic roles & 50–950 ramp

primary
#979E25
secondary
#655FC0
accent
#43E54C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979E25

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

Preview Lab → · Contrast checker → · Palette generator →

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