#4C981D#4C981D

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

Color values

HEX#4C981D
RGBrgb(76, 152, 29)
HSLhsl(97, 68%, 35%)
HSVhsv(97, 81%, 60%)
CMYKcmyk(50%, 0%, 80.9%, 40.4%)
CIE-LABlab(56.17, -44.34, 52.57)
CIE-LCHlch(56.17, 68.77, 130.14°)
OKLaboklab(60.74% -0.1234 0.1164)
OKLCHoklch(60.74% 0.17 136.7)
XYZxyz(14.4301, 24.0807, 5.0498)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C981D #691D98
analogous
#89981D #4C981D #1D982B
triadic
#4C981D #1D4C98 #981D4C
tetradic
#4C981D #1D8998 #691D98 #982B1D
square
#4C981D #1D8998 #691D98 #982B1D
split-complementary
#4C981D #2B1D98 #981D89
monochromatic
#193109 #326513 #4C981D #66CB27 #87DE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C981D#FFFFFF#000000##000000
##4C981D1.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: #4c981d;
/* rgb */ color: rgb(76, 152, 29);
/* oklch */ color: oklch(60.7% 0.170 136.7);
Tailwind
colors: {
  custom: {
    50: '#86b764',
    500: '#4c981d',
    950: '#000000',
  },
}
SCSS
$custom: #4c981d;
$custom-light: #86b764;
$custom-dark: #000000;
JSON
{
  "hex": "#4c981d",
  "rgb": {
    "r": 76,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 97.073,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60743,
    "c": 0.16963,
    "h": 136.7
  },
  "luminance": 0.24082
}

Semantic roles & 50–950 ramp

primary
#4C981D
secondary
#9650C1
accent
#3DEBA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C981D

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

Preview Lab → · Contrast checker → · Palette generator →

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