#979623#979623

#979623 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.4% C 0.130 H 109.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#979623
RGBrgb(151, 150, 35)
HSLhsl(59, 62%, 36%)
HSVhsv(59, 77%, 59%)
CMYKcmyk(0%, 0.7%, 76.8%, 40.8%)
CIE-LABlab(60.35, -13.19, 56.25)
CIE-LCHlch(60.35, 57.78, 103.19°)
OKLaboklab(65.37% -0.0424 0.1231)
OKLCHoklch(65.37% 0.13 109)
XYZxyz(23.9731, 28.5141, 5.8307)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979623 #232497
analogous
#975C23 #979623 #5E9723
triadic
#979623 #239796 #962397
tetradic
#979623 #23975C #232497 #97235E
square
#979623 #23975C #232497 #97235E
split-complementary
#979623 #235E97 #5C2397
monochromatic
#34330C #656517 #979623 #C9C72F #D9D85B

Accessibility & contrast

On white

3.13
#979623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#979623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979623
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979623#FFFFFF#000000##000000
##9796231.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39006
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#A28C80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979623;
/* rgb */ color: rgb(151, 150, 35);
/* oklch */ color: oklch(65.4% 0.130 109.0);
Tailwind
colors: {
  custom: {
    50: '#b9b468',
    500: '#979623',
    950: '#000000',
  },
}
SCSS
$custom: #979623;
$custom-light: #b9b468;
$custom-dark: #000000;
JSON
{
  "hex": "#979623",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 59.483,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65367,
    "c": 0.13023,
    "h": 109
  },
  "luminance": 0.28513
}

Semantic roles & 50–950 ramp

primary
#979623
secondary
#5859BE
accent
#44E542
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979623

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

Preview Lab → · Contrast checker → · Palette generator →

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