#7C981D#7C981D

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

Color values

HEX#7C981D
RGBrgb(124, 152, 29)
HSLhsl(74, 68%, 35%)
HSVhsv(74, 81%, 60%)
CMYKcmyk(18.4%, 0%, 80.9%, 40.4%)
CIE-LABlab(58.82, -26.27, 55.97)
CIE-LCHlch(58.82, 61.83, 115.15°)
OKLaboklab(63.61% -0.0775 0.1224)
OKLCHoklch(63.61% 0.145 122.3)
XYZxyz(19.7625, 26.8302, 5.2998)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C981D #391D98
analogous
#98771D #7C981D #3E981D
triadic
#7C981D #1D7C98 #981D7C
tetradic
#7C981D #1D9877 #391D98 #981D3E
square
#7C981D #1D9877 #391D98 #981D3E
split-complementary
#7C981D #1D3E98 #771D98
monochromatic
#283109 #526513 #7C981D #A6CB27 #BEDE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C981D#FFFFFF#000000##000000
##7C981D1.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)
#9E8D2A
Tritanopia (blue-blind)
#839082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c981d;
/* rgb */ color: rgb(124, 152, 29);
/* oklch */ color: oklch(63.6% 0.145 122.3);
Tailwind
colors: {
  custom: {
    50: '#a6b665',
    500: '#7c981d',
    950: '#000000',
  },
}
SCSS
$custom: #7c981d;
$custom-light: #a6b665;
$custom-dark: #000000;
JSON
{
  "hex": "#7c981d",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 73.659,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63605,
    "c": 0.14492,
    "h": 122.3
  },
  "luminance": 0.2683
}

Semantic roles & 50–950 ramp

primary
#7C981D
secondary
#6A50C1
accent
#3DEB65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C981D

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

Preview Lab → · Contrast checker → · Palette generator →

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