#979F2D#979F2D

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

Color values

HEX#979F2D
RGBrgb(151, 159, 45)
HSLhsl(64, 56%, 40%)
HSVhsv(64, 72%, 62%)
CMYKcmyk(5%, 0%, 71.7%, 37.6%)
CIE-LABlab(62.98, -17.39, 55.21)
CIE-LCHlch(62.98, 57.88, 107.49°)
OKLaboklab(67.49% -0.0532 0.1228)
OKLCHoklch(67.49% 0.134 113.4)
XYZxyz(25.6350, 31.5656, 7.2245)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F2D #352D9F
analogous
#9F6E2D #979F2D #5E9F2D
triadic
#979F2D #2D979F #9F2D97
tetradic
#979F2D #2D9F6E #352D9F #9F2D5E
square
#979F2D #2D9F6E #352D9F #9F2D5E
split-complementary
#979F2D #2D5E9F #6E2D9F
monochromatic
#3C4012 #6A6F20 #979F2D #BFC940 #CFD670

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979F2D#FFFFFF#000000##000000
##979F2D1.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)
#AB9719
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#A19589
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f2d;
/* rgb */ color: rgb(151, 159, 45);
/* oklch */ color: oklch(67.5% 0.134 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb6e',
    500: '#979f2d',
    950: '#000000',
  },
}
SCSS
$custom: #979f2d;
$custom-light: #b9bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#979f2d",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 64.211,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.67491,
    "c": 0.13378,
    "h": 113.4
  },
  "luminance": 0.31565
}

Semantic roles & 50–950 ramp

primary
#979F2D
secondary
#706ABE
accent
#49DF53
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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