#79981F#79981F

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

Color values

HEX#79981F
RGBrgb(121, 152, 31)
HSLhsl(75, 66%, 36%)
HSVhsv(75, 80%, 60%)
CMYKcmyk(20.4%, 0%, 79.6%, 40.4%)
CIE-LABlab(58.62, -27.45, 55.11)
CIE-LCHlch(58.62, 61.57, 116.48°)
OKLaboklab(63.4% -0.0804 0.121)
OKLCHoklch(63.4% 0.145 123.6)
XYZxyz(19.3610, 26.6202, 5.4143)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79981F #3E1F98
analogous
#987A1F #79981F #3C981F
triadic
#79981F #1F7998 #981F79
tetradic
#79981F #1F987A #3E1F98 #981F3C
square
#79981F #1F987A #3E1F98 #981F3C
split-complementary
#79981F #1F3C98 #7A1F98
monochromatic
#28320A #516515 #79981F #A1CB29 #BADC55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79981F#FFFFFF#000000##000000
##79981F1.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)
#9D8D2B
Tritanopia (blue-blind)
#7F9082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #79981f;
/* rgb */ color: rgb(121, 152, 31);
/* oklch */ color: oklch(63.4% 0.145 123.6);
Tailwind
colors: {
  custom: {
    50: '#a3b666',
    500: '#79981f',
    950: '#000000',
  },
}
SCSS
$custom: #79981f;
$custom-light: #a3b666;
$custom-dark: #000000;
JSON
{
  "hex": "#79981f",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 75.372,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63397,
    "c": 0.14533,
    "h": 123.6
  },
  "luminance": 0.2662
}

Semantic roles & 50–950 ramp

primary
#79981F
secondary
#6F53C0
accent
#3FE96A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #79981F

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

Preview Lab → · Contrast checker → · Palette generator →

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