#4C781E#4C781E

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

Color values

HEX#4C781E
RGBrgb(76, 120, 30)
HSLhsl(89, 60%, 29%)
HSVhsv(89, 75%, 47%)
CMYKcmyk(36.7%, 0%, 75%, 52.9%)
CIE-LABlab(45.72, -30.53, 42.15)
CIE-LCHlch(45.72, 52.05, 125.92°)
OKLaboklab(52.18% -0.0861 0.0948)
OKLCHoklch(52.18% 0.128 132.2)
XYZxyz(9.9312, 15.0628, 3.6122)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C781E #4A1E78
analogous
#78771E #4C781E #1F781E
triadic
#4C781E #1E4C78 #781E4C
tetradic
#4C781E #1E7877 #4A1E78 #781E1F
square
#4C781E #1E7877 #4A1E78 #781E1F
split-complementary
#4C781E #1E1F78 #771E78
monochromatic
#101806 #2D4712 #4C781E #6BA92A #8ACF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C781E#FFFFFF#000000##FFFFFF
##4C781E1.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)
#7D6E0E
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#4D7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c781e;
/* rgb */ color: rgb(76, 120, 30);
/* oklch */ color: oklch(52.2% 0.128 132.2);
Tailwind
colors: {
  custom: {
    50: '#829f60',
    500: '#4c781e',
    950: '#000000',
  },
}
SCSS
$custom: #4c781e;
$custom-light: #829f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c781e",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 89.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.12801,
    "h": 132.2
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#4C781E
secondary
#7846AC
accent
#45E392
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C781E

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

Preview Lab → · Contrast checker → · Palette generator →

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