#979725#979725

#979725 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.6% C 0.130 H 109.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#979725
RGBrgb(151, 151, 37)
HSLhsl(60, 61%, 37%)
HSVhsv(60, 75%, 59%)
CMYKcmyk(0%, 0%, 75.5%, 40.8%)
CIE-LABlab(60.65, -13.62, 55.85)
CIE-LCHlch(60.65, 57.49, 103.71°)
OKLaboklab(65.61% -0.0434 0.1227)
OKLCHoklch(65.61% 0.13 109.5)
XYZxyz(24.1639, 28.8468, 6.0450)
Luminance0.2885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979725 #252597
analogous
#975E25 #979725 #5E9725
triadic
#979725 #259797 #972597
tetradic
#979725 #25975E #252597 #97255E
square
#979725 #25975E #252597 #97255E
split-complementary
#979725 #255E97 #5E2597
monochromatic
#35350D #666619 #979725 #C8C831 #D8D85F

Accessibility & contrast

On white

3.10
#979725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#979725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979725
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979725#FFFFFF#000000##000000
##9797251.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4900B
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#A28D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #979725;
/* rgb */ color: rgb(151, 151, 37);
/* oklch */ color: oklch(65.6% 0.130 109.5);
Tailwind
colors: {
  custom: {
    50: '#b9b569',
    500: '#979725',
    950: '#000000',
  },
}
SCSS
$custom: #979725;
$custom-light: #b9b569;
$custom-dark: #000000;
JSON
{
  "hex": "#979725",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65607,
    "c": 0.13013,
    "h": 109.5
  },
  "luminance": 0.28846
}

Semantic roles & 50–950 ramp

primary
#979725
secondary
#5B5BBD
accent
#44E444
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979725

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

Preview Lab → · Contrast checker → · Palette generator →

#979725 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva