#7C981E#7C981E

#7C981E is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.6% C 0.144 H 122.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7C981E
RGBrgb(124, 152, 30)
HSLhsl(74, 67%, 36%)
HSVhsv(74, 80%, 60%)
CMYKcmyk(18.4%, 0%, 80.3%, 40.4%)
CIE-LABlab(58.82, -26.23, 55.68)
CIE-LCHlch(58.82, 61.55, 115.23°)
OKLaboklab(63.61% -0.0773 0.122)
OKLCHoklch(63.61% 0.144 122.4)
XYZxyz(19.7751, 26.8352, 5.3660)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C981E #3A1E98
analogous
#98771E #7C981E #3F981E
triadic
#7C981E #1E7C98 #981E7C
tetradic
#7C981E #1E9877 #3A1E98 #981E3F
square
#7C981E #1E9877 #3A1E98 #981E3F
split-complementary
#7C981E #1E3F98 #771E98
monochromatic
#29320A #526514 #7C981E #A6CB28 #BDDD53

Accessibility & contrast

On white

3.30
#7C981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#7C981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C981E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C981E#FFFFFF#000000##000000
##7C981E1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9E8D2B
Tritanopia (blue-blind)
#839082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c981e;
/* rgb */ color: rgb(124, 152, 30);
/* oklch */ color: oklch(63.6% 0.144 122.4);
Tailwind
colors: {
  custom: {
    50: '#a5b665',
    500: '#7c981e',
    950: '#000000',
  },
}
SCSS
$custom: #7c981e;
$custom-light: #a5b665;
$custom-dark: #000000;
JSON
{
  "hex": "#7c981e",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 73.77,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6361,
    "c": 0.14443,
    "h": 122.4
  },
  "luminance": 0.26835
}

Semantic roles & 50–950 ramp

primary
#7C981E
secondary
#6B51C0
accent
#3EEA65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C981E

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

Preview Lab → · Contrast checker → · Palette generator →

#7C981E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva