#4C981C#4C981C

#4C981C is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.7% C 0.170 H 136.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4C981C
RGBrgb(76, 152, 28)
HSLhsl(97, 69%, 35%)
HSVhsv(97, 82%, 60%)
CMYKcmyk(50%, 0%, 81.6%, 40.4%)
CIE-LABlab(56.16, -44.39, 52.87)
CIE-LCHlch(56.16, 69.03, 130.02°)
OKLaboklab(60.74% -0.1236 0.1169)
OKLCHoklch(60.74% 0.17 136.6)
XYZxyz(14.4179, 24.0758, 4.9857)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C981C #681C98
analogous
#8A981C #4C981C #1C982A
triadic
#4C981C #1C4C98 #981C4C
tetradic
#4C981C #1C8A98 #681C98 #982A1C
square
#4C981C #1C8A98 #681C98 #982A1C
split-complementary
#4C981C #2A1C98 #981C8A
monochromatic
#183109 #326412 #4C981C #66CC26 #87DF50

Accessibility & contrast

On white

3.61
#4C981C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#4C981C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C981C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C981C#FFFFFF#000000##000000
##4C981C1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#94842B
Tritanopia (blue-blind)
#489281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4c981c;
/* rgb */ color: rgb(76, 152, 28);
/* oklch */ color: oklch(60.7% 0.170 136.6);
Tailwind
colors: {
  custom: {
    50: '#86b764',
    500: '#4c981c',
    950: '#000000',
  },
}
SCSS
$custom: #4c981c;
$custom-light: #86b764;
$custom-dark: #000000;
JSON
{
  "hex": "#4c981c",
  "rgb": {
    "r": 76,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 96.774,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60737,
    "c": 0.1701,
    "h": 136.6
  },
  "luminance": 0.24077
}

Semantic roles & 50–950 ramp

primary
#4C981C
secondary
#954EC1
accent
#3CECA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C981C

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

Preview Lab → · Contrast checker → · Palette generator →

#4C981C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva