#979D23#979D23

#979D23 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.0% C 0.137 H 112.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#979D23
RGBrgb(151, 157, 35)
HSLhsl(63, 64%, 38%)
HSVhsv(63, 78%, 62%)
CMYKcmyk(3.8%, 0%, 77.7%, 38.4%)
CIE-LABlab(62.35, -16.83, 58.09)
CIE-LCHlch(62.35, 60.48, 106.16°)
OKLaboklab(66.97% -0.0526 0.127)
OKLCHoklch(66.97% 0.137 112.5)
XYZxyz(25.1237, 30.8152, 6.2143)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979D23 #29239D
analogous
#9D6623 #979D23 #5A9D23
triadic
#979D23 #23979D #9D2397
tetradic
#979D23 #239D66 #29239D #9D235A
square
#979D23 #239D66 #29239D #9D235A
split-complementary
#979D23 #235A9D #66239D
monochromatic
#37390D #676B18 #979D23 #C7CF2E #D5DB5F

Accessibility & contrast

On white

2.93
#979D23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#979D23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979D23
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979D23#FFFFFF#000000##000000
##979D231.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99501
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#A29386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979d23;
/* rgb */ color: rgb(151, 157, 35);
/* oklch */ color: oklch(67.0% 0.137 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9b969',
    500: '#979d23',
    950: '#000000',
  },
}
SCSS
$custom: #979d23;
$custom-light: #b9b969;
$custom-dark: #000000;
JSON
{
  "hex": "#979d23",
  "rgb": {
    "r": 151,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 62.951,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66967,
    "c": 0.13747,
    "h": 112.5
  },
  "luminance": 0.30815
}

Semantic roles & 50–950 ramp

primary
#979D23
secondary
#615CC0
accent
#41E749
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979D23

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

Preview Lab → · Contrast checker → · Palette generator →

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