#979523#979523

#979523 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.1% C 0.129 H 108.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#979523
RGBrgb(151, 149, 35)
HSLhsl(59, 62%, 36%)
HSVhsv(59, 77%, 59%)
CMYKcmyk(0%, 1.3%, 76.8%, 40.8%)
CIE-LABlab(60.07, -12.66, 55.99)
CIE-LCHlch(60.07, 57.40, 102.74°)
OKLaboklab(65.14% -0.0409 0.1226)
OKLCHoklch(65.14% 0.129 108.5)
XYZxyz(23.8142, 28.1963, 5.7778)
Luminance0.2820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979523 #232597
analogous
#975B23 #979523 #5F9723
triadic
#979523 #239795 #952397
tetradic
#979523 #23975B #232597 #97235F
square
#979523 #23975B #232597 #97235F
split-complementary
#979523 #235F97 #5B2397
monochromatic
#34330C #656417 #979523 #C9C62F #D9D75B

Accessibility & contrast

On white

3.16
#979523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#979523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979523
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979523#FFFFFF#000000##000000
##9795231.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F07
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#A28B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979523;
/* rgb */ color: rgb(151, 149, 35);
/* oklch */ color: oklch(65.1% 0.129 108.5);
Tailwind
colors: {
  custom: {
    50: '#b9b368',
    500: '#979523',
    950: '#000000',
  },
}
SCSS
$custom: #979523;
$custom-light: #b9b368;
$custom-dark: #000000;
JSON
{
  "hex": "#979523",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 58.966,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6514,
    "c": 0.12923,
    "h": 108.5
  },
  "luminance": 0.28196
}

Semantic roles & 50–950 ramp

primary
#979523
secondary
#585ABE
accent
#45E542
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979523

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

Preview Lab → · Contrast checker → · Palette generator →

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