#979A1E#979A1E

#979A1E is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.137 H 111.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#979A1E
RGBrgb(151, 154, 30)
HSLhsl(61, 67%, 36%)
HSVhsv(61, 81%, 60%)
CMYKcmyk(1.9%, 0%, 80.5%, 39.6%)
CIE-LABlab(61.47, -15.47, 58.82)
CIE-LCHlch(61.47, 60.82, 104.74°)
OKLaboklab(66.25% -0.0492 0.1277)
OKLCHoklch(66.25% 0.137 111.1)
XYZxyz(24.5533, 29.7849, 5.6837)
Luminance0.2978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A1E #211E9A
analogous
#9A5F1E #979A1E #599A1E
triadic
#979A1E #1E979A #9A1E97
tetradic
#979A1E #1E9A5F #211E9A #9A1E59
square
#979A1E #1E9A5F #211E9A #9A1E59
split-complementary
#979A1E #1E599A #5F1E9A
monochromatic
#33340A #656714 #979A1E #C9CD28 #DADE55

Accessibility & contrast

On white

3.02
#979A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#979A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979A1E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A1E#FFFFFF#000000##000000
##979A1E1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#A29083
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979a1e;
/* rgb */ color: rgb(151, 154, 30);
/* oklch */ color: oklch(66.3% 0.137 111.1);
Tailwind
colors: {
  custom: {
    50: '#b9b766',
    500: '#979a1e',
    950: '#000000',
  },
}
SCSS
$custom: #979a1e;
$custom-light: #b9b766;
$custom-dark: #000000;
JSON
{
  "hex": "#979a1e",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 61.452,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66253,
    "c": 0.13682,
    "h": 111.1
  },
  "luminance": 0.29784
}

Semantic roles & 50–950 ramp

primary
#979A1E
secondary
#5553C1
accent
#3EEA42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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