#4C781A#4C781A

#4C781A is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.131 H 131.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4C781A
RGBrgb(76, 120, 26)
HSLhsl(88, 64%, 29%)
HSVhsv(88, 78%, 47%)
CMYKcmyk(36.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(45.69, -30.80, 43.64)
CIE-LCHlch(45.69, 53.41, 125.22°)
OKLaboklab(52.15% -0.0871 0.0972)
OKLCHoklch(52.15% 0.131 131.9)
XYZxyz(9.8833, 15.0436, 3.3601)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C781A #461A78
analogous
#78751A #4C781A #1D781A
triadic
#4C781A #1A4C78 #781A4C
tetradic
#4C781A #1A7875 #461A78 #781A1D
square
#4C781A #1A7875 #461A78 #781A1D
split-complementary
#4C781A #1A1D78 #751A78
monochromatic
#101905 #2C460F #4C781A #6CAA25 #8BD438

Accessibility & contrast

On white

5.24
#4C781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C781A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C781A#FFFFFF#000000##FFFFFF
##4C781A1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c781a;
/* rgb */ color: rgb(76, 120, 26);
/* oklch */ color: oklch(52.1% 0.131 131.9);
Tailwind
colors: {
  custom: {
    50: '#829f5e',
    500: '#4c781a',
    950: '#000000',
  },
}
SCSS
$custom: #4c781a;
$custom-light: #829f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c781a",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 88.085,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.13054,
    "h": 131.9
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#4C781A
secondary
#7341AC
accent
#40E78F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C781A

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

Preview Lab → · Contrast checker → · Palette generator →

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