#979F23#979F23

#979F23 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.4% C 0.140 H 113.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#979F23
RGBrgb(151, 159, 35)
HSLhsl(64, 64%, 38%)
HSVhsv(64, 78%, 62%)
CMYKcmyk(5%, 0%, 78%, 37.6%)
CIE-LABlab(62.93, -17.86, 58.61)
CIE-LCHlch(62.93, 61.27, 106.95°)
OKLaboklab(67.43% -0.0554 0.1281)
OKLCHoklch(67.43% 0.14 113.4)
XYZxyz(25.4648, 31.4975, 6.3280)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F23 #2B239F
analogous
#9F6923 #979F23 #599F23
triadic
#979F23 #23979F #9F2397
tetradic
#979F23 #239F69 #2B239F #9F2359
square
#979F23 #239F69 #2B239F #9F2359
split-complementary
#979F23 #23599F #69239F
monochromatic
#383B0D #676D18 #979F23 #C7D12E #D4DC60

Accessibility & contrast

On white

2.88
#979F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#979F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F23
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F23#FFFFFF#000000##000000
##979F231.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#A29588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f23;
/* rgb */ color: rgb(151, 159, 35);
/* oklch */ color: oklch(67.4% 0.140 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb69',
    500: '#979f23',
    950: '#000000',
  },
}
SCSS
$custom: #979f23;
$custom-light: #b9bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#979f23",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 63.871,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67427,
    "c": 0.13961,
    "h": 113.4
  },
  "luminance": 0.31497
}

Semantic roles & 50–950 ramp

primary
#979F23
secondary
#635DC1
accent
#41E74C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979F23

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

Preview Lab → · Contrast checker → · Palette generator →

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