#979A23#979A23

#979A23 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.134 H 111.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#979A23
RGBrgb(151, 154, 35)
HSLhsl(62, 63%, 37%)
HSVhsv(62, 77%, 60%)
CMYKcmyk(1.9%, 0%, 77.3%, 39.6%)
CIE-LABlab(61.49, -15.28, 57.30)
CIE-LCHlch(61.49, 59.30, 104.93°)
OKLaboklab(66.28% -0.0482 0.1254)
OKLCHoklch(66.28% 0.134 111)
XYZxyz(24.6223, 29.8125, 6.0471)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A23 #26239A
analogous
#9A6223 #979A23 #5B9A23
triadic
#979A23 #23979A #9A2397
tetradic
#979A23 #239A62 #26239A #9A235B
square
#979A23 #239A62 #26239A #9A235B
split-complementary
#979A23 #235B9A #62239A
monochromatic
#35360C #666818 #979A23 #C8CC2E #D7DA5D

Accessibility & contrast

On white

3.02
#979A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#979A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979A23
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A23#FFFFFF#000000##000000
##979A231.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69303
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#A29084
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979a23;
/* rgb */ color: rgb(151, 154, 35);
/* oklch */ color: oklch(66.3% 0.134 111.0);
Tailwind
colors: {
  custom: {
    50: '#b9b768',
    500: '#979a23',
    950: '#000000',
  },
}
SCSS
$custom: #979a23;
$custom-light: #b9b768;
$custom-dark: #000000;
JSON
{
  "hex": "#979a23",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 61.513,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6628,
    "c": 0.13432,
    "h": 111
  },
  "luminance": 0.29812
}

Semantic roles & 50–950 ramp

primary
#979A23
secondary
#5C5ABF
accent
#42E646
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979A23

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

Preview Lab → · Contrast checker → · Palette generator →

#979A23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva