#979631#979631

#979631 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.121 H 108.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#979631
RGBrgb(151, 150, 49)
HSLhsl(59, 51%, 39%)
HSVhsv(59, 68%, 59%)
CMYKcmyk(0%, 0.7%, 67.5%, 40.8%)
CIE-LABlab(60.44, -12.47, 51.10)
CIE-LCHlch(60.44, 52.60, 103.72°)
OKLaboklab(65.47% -0.039 0.1148)
OKLCHoklch(65.47% 0.121 108.8)
XYZxyz(24.2240, 28.6145, 7.1522)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979631 #313297
analogous
#976331 #979631 #659731
triadic
#979631 #319796 #963197
tetradic
#979631 #319763 #313297 #973165
square
#979631 #319763 #313297 #973165
split-complementary
#979631 #316597 #633197
monochromatic
#3B3A13 #696822 #979631 #C2C143 #D1D071

Accessibility & contrast

On white

3.12
#979631 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#979631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979631
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979631#FFFFFF#000000##000000
##9796311.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29023
Deuteranopia (green-blind)
#A49338
Tritanopia (blue-blind)
#A28C82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #979631;
/* rgb */ color: rgb(151, 150, 49);
/* oklch */ color: oklch(65.5% 0.121 108.8);
Tailwind
colors: {
  custom: {
    50: '#b8b46f',
    500: '#979631',
    950: '#000000',
  },
}
SCSS
$custom: #979631;
$custom-light: #b8b46f;
$custom-dark: #000000;
JSON
{
  "hex": "#979631",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 49
  },
  "hsl": {
    "h": 59.412,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65467,
    "c": 0.12123,
    "h": 108.8
  },
  "luminance": 0.28614
}

Semantic roles & 50–950 ramp

primary
#979631
secondary
#6B6CB9
accent
#4FDA4D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979631

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

Preview Lab → · Contrast checker → · Palette generator →

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