#979F34#979F34

#979F34 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.129 H 113.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#979F34
RGBrgb(151, 159, 52)
HSLhsl(64, 51%, 41%)
HSVhsv(64, 67%, 62%)
CMYKcmyk(5%, 0%, 67.3%, 37.6%)
CIE-LABlab(63.03, -16.99, 52.51)
CIE-LCHlch(63.03, 55.19, 107.93°)
OKLaboklab(67.55% -0.0514 0.1183)
OKLCHoklch(67.55% 0.129 113.5)
XYZxyz(25.7812, 31.6240, 7.9941)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F34 #3C349F
analogous
#9F7234 #979F34 #629F34
triadic
#979F34 #34979F #9F3497
tetradic
#979F34 #349F72 #3C349F #9F3462
square
#979F34 #349F72 #3C349F #9F3462
split-complementary
#979F34 #34629F #72349F
monochromatic
#3F4316 #6B7125 #979F34 #BBC44C #CDD37A

Accessibility & contrast

On white

2.87
#979F34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#979F34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F34
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F34#FFFFFF#000000##000000
##979F341.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9725
Deuteranopia (green-blind)
#AA9A3C
Tritanopia (blue-blind)
#A19689
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f34;
/* rgb */ color: rgb(151, 159, 52);
/* oklch */ color: oklch(67.5% 0.129 113.5);
Tailwind
colors: {
  custom: {
    50: '#b8bb72',
    500: '#979f34',
    950: '#000000',
  },
}
SCSS
$custom: #979f34;
$custom-light: #b8bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#979f34",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 52
  },
  "hsl": {
    "h": 64.486,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67546,
    "c": 0.12894,
    "h": 113.5
  },
  "luminance": 0.31624
}

Semantic roles & 50–950 ramp

primary
#979F34
secondary
#7873BC
accent
#4EDA58
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #979F34

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

Preview Lab → · Contrast checker → · Palette generator →

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