#979923#979923

#979923 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.1% C 0.133 H 110.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#979923
RGBrgb(151, 153, 35)
HSLhsl(61, 63%, 37%)
HSVhsv(61, 77%, 60%)
CMYKcmyk(1.3%, 0%, 77.1%, 40%)
CIE-LABlab(61.21, -14.76, 57.04)
CIE-LCHlch(61.21, 58.92, 104.51°)
OKLaboklab(66.05% -0.0468 0.1248)
OKLCHoklch(66.05% 0.133 110.6)
XYZxyz(24.4580, 29.4838, 5.9924)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979923 #252399
analogous
#996023 #979923 #5C9923
triadic
#979923 #239799 #992397
tetradic
#979923 #239960 #252399 #99235C
square
#979923 #239960 #252399 #99235C
split-complementary
#979923 #235C99 #602399
monochromatic
#35350C #666718 #979923 #C8CB2E #D8DA5D

Accessibility & contrast

On white

3.04
#979923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#979923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979923
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979923#FFFFFF#000000##000000
##9799231.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69204
Deuteranopia (green-blind)
#A7952D
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979923;
/* rgb */ color: rgb(151, 153, 35);
/* oklch */ color: oklch(66.1% 0.133 110.6);
Tailwind
colors: {
  custom: {
    50: '#b9b668',
    500: '#979923',
    950: '#000000',
  },
}
SCSS
$custom: #979923;
$custom-light: #b9b668;
$custom-dark: #000000;
JSON
{
  "hex": "#979923",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 61.017,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66051,
    "c": 0.13328,
    "h": 110.6
  },
  "luminance": 0.29483
}

Semantic roles & 50–950 ramp

primary
#979923
secondary
#5B59BE
accent
#42E645
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979923

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

Preview Lab → · Contrast checker → · Palette generator →

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