#979A2A#979A2A

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

Color values

HEX#979A2A
RGBrgb(151, 154, 42)
HSLhsl(62, 57%, 38%)
HSVhsv(62, 73%, 60%)
CMYKcmyk(1.9%, 0%, 72.7%, 39.6%)
CIE-LABlab(61.53, -14.96, 54.91)
CIE-LCHlch(61.53, 56.91, 105.24°)
OKLaboklab(66.32% -0.0467 0.1216)
OKLCHoklch(66.32% 0.13 111)
XYZxyz(24.7368, 29.8583, 6.6502)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A2A #2D2A9A
analogous
#9A652A #979A2A #5F9A2A
triadic
#979A2A #2A979A #9A2A97
tetradic
#979A2A #2A9A65 #2D2A9A #9A2A5F
square
#979A2A #2A9A65 #2D2A9A #9A2A5F
split-complementary
#979A2A #2A5F9A #652A9A
monochromatic
#393A10 #686A1D #979A2A #C5C938 #D3D668

Accessibility & contrast

On white

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

On black

6.97
#979A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979A2A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A2A#FFFFFF#000000##000000
##979A2A1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#A29084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979a2a;
/* rgb */ color: rgb(151, 154, 42);
/* oklch */ color: oklch(66.3% 0.130 111.0);
Tailwind
colors: {
  custom: {
    50: '#b9b76c',
    500: '#979a2a',
    950: '#000000',
  },
}
SCSS
$custom: #979a2a;
$custom-light: #b9b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#979a2a",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 61.607,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66324,
    "c": 0.13026,
    "h": 111
  },
  "luminance": 0.29858
}

Semantic roles & 50–950 ramp

primary
#979A2A
secondary
#6663BC
accent
#47E04B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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