#979A2E#979A2E

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

Color values

HEX#979A2E
RGBrgb(151, 154, 46)
HSLhsl(62, 54%, 39%)
HSVhsv(62, 70%, 60%)
CMYKcmyk(1.9%, 0%, 70.1%, 39.6%)
CIE-LABlab(61.56, -14.75, 53.42)
CIE-LCHlch(61.56, 55.42, 105.43°)
OKLaboklab(66.35% -0.0457 0.1192)
OKLCHoklch(66.35% 0.128 111)
XYZxyz(24.8120, 29.8884, 7.0462)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A2E #312E9A
analogous
#9A672E #979A2E #619A2E
triadic
#979A2E #2E979A #9A2E97
tetradic
#979A2E #2E9A67 #312E9A #9A2E61
square
#979A2E #2E9A67 #312E9A #9A2E61
split-complementary
#979A2E #2E619A #672E9A
monochromatic
#3B3C12 #696B20 #979A2E #C2C63F #D1D46F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979A2E#FFFFFF#000000##000000
##979A2E1.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)
#A6931D
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#A29085
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979a2e;
/* rgb */ color: rgb(151, 154, 46);
/* oklch */ color: oklch(66.4% 0.128 111.0);
Tailwind
colors: {
  custom: {
    50: '#b9b76e',
    500: '#979a2e',
    950: '#000000',
  },
}
SCSS
$custom: #979a2e;
$custom-light: #b9b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#979a2e",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 61.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66353,
    "c": 0.12764,
    "h": 111
  },
  "luminance": 0.29888
}

Semantic roles & 50–950 ramp

primary
#979A2E
secondary
#6B69BB
accent
#4ADD4F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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