#79981C#79981C

#79981C is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.4% C 0.147 H 123.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#79981C
RGBrgb(121, 152, 28)
HSLhsl(75, 69%, 35%)
HSVhsv(75, 82%, 60%)
CMYKcmyk(20.4%, 0%, 81.6%, 40.4%)
CIE-LABlab(58.61, -27.58, 56.00)
CIE-LCHlch(58.61, 62.42, 116.22°)
OKLaboklab(63.38% -0.081 0.1224)
OKLCHoklch(63.38% 0.147 123.5)
XYZxyz(19.3233, 26.6051, 5.2157)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79981C #3B1C98
analogous
#98791C #79981C #3B981C
triadic
#79981C #1C7998 #981C79
tetradic
#79981C #1C9879 #3B1C98 #981C3B
square
#79981C #1C9879 #3B1C98 #981C3B
split-complementary
#79981C #1C3B98 #791C98
monochromatic
#273109 #506412 #79981C #A2CC26 #BBDF50

Accessibility & contrast

On white

3.32
#79981C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#79981C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79981C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79981C#FFFFFF#000000##000000
##79981C1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#7F9082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #79981c;
/* rgb */ color: rgb(121, 152, 28);
/* oklch */ color: oklch(63.4% 0.147 123.5);
Tailwind
colors: {
  custom: {
    50: '#a3b665',
    500: '#79981c',
    950: '#000000',
  },
}
SCSS
$custom: #79981c;
$custom-light: #a3b665;
$custom-dark: #000000;
JSON
{
  "hex": "#79981c",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 75,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63381,
    "c": 0.14678,
    "h": 123.5
  },
  "luminance": 0.26605
}

Semantic roles & 50–950 ramp

primary
#79981C
secondary
#6B4EC1
accent
#3CEC68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #79981C

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

Preview Lab → · Contrast checker → · Palette generator →

#79981C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva