#979A2D#979A2D

#979A2D is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.3% C 0.128 H 111.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#979A2D
RGBrgb(151, 154, 45)
HSLhsl(62, 55%, 39%)
HSVhsv(62, 71%, 60%)
CMYKcmyk(1.9%, 0%, 70.8%, 39.6%)
CIE-LABlab(61.55, -14.80, 53.80)
CIE-LCHlch(61.55, 55.80, 105.38°)
OKLaboklab(66.35% -0.046 0.1198)
OKLCHoklch(66.35% 0.128 111)
XYZxyz(24.7926, 29.8806, 6.9436)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A2D #302D9A
analogous
#9A672D #979A2D #619A2D
triadic
#979A2D #2D979A #9A2D97
tetradic
#979A2D #2D9A67 #302D9A #9A2D61
square
#979A2D #2D9A67 #302D9A #9A2D61
split-complementary
#979A2D #2D619A #672D9A
monochromatic
#3A3B11 #696B1F #979A2D #C3C73E #D2D46D

Accessibility & contrast

On white

3.01
#979A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#979A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979A2D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A2D#FFFFFF#000000##000000
##979A2D1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931B
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#A29085
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979a2d;
/* rgb */ color: rgb(151, 154, 45);
/* oklch */ color: oklch(66.3% 0.128 111.0);
Tailwind
colors: {
  custom: {
    50: '#b9b76d',
    500: '#979a2d',
    950: '#000000',
  },
}
SCSS
$custom: #979a2d;
$custom-light: #b9b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#979a2d",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 61.651,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66346,
    "c": 0.12831,
    "h": 111
  },
  "luminance": 0.2988
}

Semantic roles & 50–950 ramp

primary
#979A2D
secondary
#6A67BB
accent
#4ADE4E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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