#979423#979423

#979423 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.9% C 0.128 H 107.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#979423
RGBrgb(151, 148, 35)
HSLhsl(58, 62%, 36%)
HSVhsv(58, 77%, 59%)
CMYKcmyk(0%, 2%, 76.8%, 40.8%)
CIE-LABlab(59.78, -12.13, 55.73)
CIE-LCHlch(59.78, 57.03, 102.28°)
OKLaboklab(64.91% -0.0395 0.122)
OKLCHoklch(64.91% 0.128 107.9)
XYZxyz(23.6567, 27.8813, 5.7253)
Luminance0.2788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979423 #232697
analogous
#975A23 #979423 #609723
triadic
#979423 #239794 #942397
tetradic
#979423 #23975A #232697 #972360
square
#979423 #23975A #232697 #972360
split-complementary
#979423 #236097 #5A2397
monochromatic
#34330C #656317 #979423 #C9C52F #D9D65B

Accessibility & contrast

On white

3.19
#979423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#979423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979423
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979423#FFFFFF#000000##000000
##9794231.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E07
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#A28A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #979423;
/* rgb */ color: rgb(151, 148, 35);
/* oklch */ color: oklch(64.9% 0.128 107.9);
Tailwind
colors: {
  custom: {
    50: '#b9b368',
    500: '#979423',
    950: '#000000',
  },
}
SCSS
$custom: #979423;
$custom-light: #b9b368;
$custom-dark: #000000;
JSON
{
  "hex": "#979423",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 58.448,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64913,
    "c": 0.12824,
    "h": 107.9
  },
  "luminance": 0.2788
}

Semantic roles & 50–950 ramp

primary
#979423
secondary
#585BBE
accent
#47E542
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121107
muted
#81807A

Preview Lab

Preview with #979423

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

Preview Lab → · Contrast checker → · Palette generator →

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