#979F29#979F29

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

Color values

HEX#979F29
RGBrgb(151, 159, 41)
HSLhsl(64, 59%, 39%)
HSVhsv(64, 74%, 62%)
CMYKcmyk(5%, 0%, 74.2%, 37.6%)
CIE-LABlab(62.96, -17.59, 56.64)
CIE-LCHlch(62.96, 59.31, 107.26°)
OKLaboklab(67.46% -0.0541 0.1251)
OKLCHoklch(67.46% 0.136 113.4)
XYZxyz(25.5617, 31.5362, 6.8380)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F29 #31299F
analogous
#9F6C29 #979F29 #5C9F29
triadic
#979F29 #29979F #9F2997
tetradic
#979F29 #299F6C #31299F #9F295C
square
#979F29 #299F6C #31299F #9F295C
split-complementary
#979F29 #295C9F #6C299F
monochromatic
#3B3E10 #696E1C #979F29 #C2CC39 #D1D96A

Accessibility & contrast

On white

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

On black

7.31
#979F29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F29
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F29#FFFFFF#000000##000000
##979F291.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9711
Deuteranopia (green-blind)
#AB9A33
Tritanopia (blue-blind)
#A19588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f29;
/* rgb */ color: rgb(151, 159, 41);
/* oklch */ color: oklch(67.5% 0.136 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb6c',
    500: '#979f29',
    950: '#000000',
  },
}
SCSS
$custom: #979f29;
$custom-light: #b9bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#979f29",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 41
  },
  "hsl": {
    "h": 64.068,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67464,
    "c": 0.13628,
    "h": 113.4
  },
  "luminance": 0.31536
}

Semantic roles & 50–950 ramp

primary
#979F29
secondary
#6B65BF
accent
#46E250
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979F29

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

Preview Lab → · Contrast checker → · Palette generator →

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