#979825#979825

#979825 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.8% C 0.131 H 110.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#979825
RGBrgb(151, 152, 37)
HSLhsl(61, 61%, 37%)
HSVhsv(61, 76%, 60%)
CMYKcmyk(0.7%, 0%, 75.7%, 40.4%)
CIE-LABlab(60.93, -14.15, 56.12)
CIE-LCHlch(60.93, 57.87, 104.15°)
OKLaboklab(65.83% -0.0449 0.1232)
OKLCHoklch(65.83% 0.131 110)
XYZxyz(24.3255, 29.1701, 6.0989)
Luminance0.2917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979825 #262598
analogous
#986025 #979825 #5D9825
triadic
#979825 #259798 #982597
tetradic
#979825 #259860 #262598 #98255D
square
#979825 #259860 #262598 #98255D
split-complementary
#979825 #255D98 #602598
monochromatic
#35360D #666719 #979825 #C8C931 #D7D85F

Accessibility & contrast

On white

3.07
#979825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#979825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979825
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979825#FFFFFF#000000##000000
##9798251.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910A
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#A28E82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #979825;
/* rgb */ color: rgb(151, 152, 37);
/* oklch */ color: oklch(65.8% 0.131 110.0);
Tailwind
colors: {
  custom: {
    50: '#b9b669',
    500: '#979825',
    950: '#000000',
  },
}
SCSS
$custom: #979825;
$custom-light: #b9b669;
$custom-dark: #000000;
JSON
{
  "hex": "#979825",
  "rgb": {
    "r": 151,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 60.522,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65835,
    "c": 0.13115,
    "h": 110
  },
  "luminance": 0.29169
}

Semantic roles & 50–950 ramp

primary
#979825
secondary
#5C5CBD
accent
#44E445
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979825

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

Preview Lab → · Contrast checker → · Palette generator →

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