#4C781D#4C781D

#4C781D is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.129 H 132.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4C781D
RGBrgb(76, 120, 29)
HSLhsl(89, 61%, 29%)
HSVhsv(89, 76%, 47%)
CMYKcmyk(36.7%, 0%, 75.8%, 52.9%)
CIE-LABlab(45.71, -30.60, 42.53)
CIE-LCHlch(45.71, 52.40, 125.74°)
OKLaboklab(52.17% -0.0863 0.0954)
OKLCHoklch(52.17% 0.129 132.1)
XYZxyz(9.9186, 15.0577, 3.5460)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C781D #491D78
analogous
#78771D #4C781D #1F781D
triadic
#4C781D #1D4C78 #781D4C
tetradic
#4C781D #1D7877 #491D78 #781D1F
square
#4C781D #1D7877 #491D78 #781D1F
split-complementary
#4C781D #1D1F78 #771D78
monochromatic
#101906 #2D4711 #4C781D #6BA929 #8AD13F

Accessibility & contrast

On white

5.23
#4C781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4C781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C781D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C781D#FFFFFF#000000##FFFFFF
##4C781D1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0C
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#4D7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c781d;
/* rgb */ color: rgb(76, 120, 29);
/* oklch */ color: oklch(52.2% 0.129 132.1);
Tailwind
colors: {
  custom: {
    50: '#829f60',
    500: '#4c781d',
    950: '#000000',
  },
}
SCSS
$custom: #4c781d;
$custom-light: #829f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c781d",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 89.011,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52171,
    "c": 0.12867,
    "h": 132.1
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#4C781D
secondary
#7745AC
accent
#44E491
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C781D

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

Preview Lab → · Contrast checker → · Palette generator →

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