#979F25#979F25

#979F25 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#979F25
RGBrgb(151, 159, 37)
HSLhsl(64, 62%, 38%)
HSVhsv(64, 77%, 62%)
CMYKcmyk(5%, 0%, 76.7%, 37.6%)
CIE-LABlab(62.94, -17.78, 57.98)
CIE-LCHlch(62.94, 60.64, 107.05°)
OKLaboklab(67.44% -0.055 0.1272)
OKLCHoklch(67.44% 0.139 113.4)
XYZxyz(25.4954, 31.5097, 6.4888)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F25 #2D259F
analogous
#9F6A25 #979F25 #5A9F25
triadic
#979F25 #25979F #9F2597
tetradic
#979F25 #259F6A #2D259F #9F255A
square
#979F25 #259F6A #2D259F #9F255A
split-complementary
#979F25 #255A9F #6A259F
monochromatic
#393C0E #686D19 #979F25 #C5CF32 #D3DB64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979F25#FFFFFF#000000##000000
##979F251.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)
#AB9705
Deuteranopia (green-blind)
#AB9930
Tritanopia (blue-blind)
#A19588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f25;
/* rgb */ color: rgb(151, 159, 37);
/* oklch */ color: oklch(67.4% 0.139 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb6a',
    500: '#979f25',
    950: '#000000',
  },
}
SCSS
$custom: #979f25;
$custom-light: #b9bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#979f25",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 37
  },
  "hsl": {
    "h": 63.934,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67439,
    "c": 0.13855,
    "h": 113.4
  },
  "luminance": 0.31509
}

Semantic roles & 50–950 ramp

primary
#979F25
secondary
#665FC0
accent
#42E54D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979F25

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

Preview Lab → · Contrast checker → · Palette generator →

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