#4A781A#4A781A

#4A781A is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.0% C 0.132 H 132.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4A781A
RGBrgb(74, 120, 26)
HSLhsl(89, 64%, 29%)
HSVhsv(89, 78%, 47%)
CMYKcmyk(38.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(45.58, -31.57, 43.49)
CIE-LCHlch(45.58, 53.74, 125.98°)
OKLaboklab(52.03% -0.0891 0.097)
OKLCHoklch(52.03% 0.132 132.6)
XYZxyz(9.7268, 14.9629, 3.3527)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A781A #481A78
analogous
#78771A #4A781A #1B781A
triadic
#4A781A #1A4A78 #781A4A
tetradic
#4A781A #1A7877 #481A78 #781A1B
square
#4A781A #1A7877 #481A78 #781A1B
split-complementary
#4A781A #1A1B78 #771A78
monochromatic
#101905 #2B460F #4A781A #69AA25 #88D438

Accessibility & contrast

On white

5.26
#4A781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4A781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A781A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A781A#FFFFFF#000000##FFFFFF
##4A781A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a781a;
/* rgb */ color: rgb(74, 120, 26);
/* oklch */ color: oklch(52.0% 0.132 132.6);
Tailwind
colors: {
  custom: {
    50: '#819f5e',
    500: '#4a781a',
    950: '#000000',
  },
}
SCSS
$custom: #4a781a;
$custom-light: #819f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a781a",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 89.362,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.13166,
    "h": 132.6
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#4A781A
secondary
#7641AC
accent
#40E792
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A781A

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

Preview Lab → · Contrast checker → · Palette generator →

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