#979E2A#979E2A

#979E2A is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.135 H 113.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#979E2A
RGBrgb(151, 158, 42)
HSLhsl(64, 58%, 39%)
HSVhsv(64, 73%, 62%)
CMYKcmyk(4.4%, 0%, 73.4%, 38%)
CIE-LABlab(62.68, -17.03, 56.01)
CIE-LCHlch(62.68, 58.55, 106.91°)
OKLaboklab(67.24% -0.0525 0.1239)
OKLCHoklch(67.24% 0.135 113)
XYZxyz(25.4081, 31.2008, 6.8739)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E2A #312A9E
analogous
#9E6B2A #979E2A #5D9E2A
triadic
#979E2A #2A979E #9E2A97
tetradic
#979E2A #2A9E6B #312A9E #9E2A5D
square
#979E2A #2A9E6B #312A9E #9E2A5D
split-complementary
#979E2A #2A5D9E #6B2A9E
monochromatic
#3B3D10 #696E1D #979E2A #C2CB3A #D1D86B

Accessibility & contrast

On white

2.90
#979E2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#979E2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E2A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E2A#FFFFFF#000000##000000
##979E2A1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9613
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#A19488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979e2a;
/* rgb */ color: rgb(151, 158, 42);
/* oklch */ color: oklch(67.2% 0.135 113.0);
Tailwind
colors: {
  custom: {
    50: '#b9ba6c',
    500: '#979e2a',
    950: '#000000',
  },
}
SCSS
$custom: #979e2a;
$custom-light: #b9ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#979e2a",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 63.621,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6724,
    "c": 0.13457,
    "h": 113
  },
  "luminance": 0.312
}

Semantic roles & 50–950 ramp

primary
#979E2A
secondary
#6B66BE
accent
#47E150
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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