#4D781E#4D781E

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

Color values

HEX#4D781E
RGBrgb(77, 120, 30)
HSLhsl(89, 60%, 29%)
HSVhsv(89, 75%, 47%)
CMYKcmyk(35.8%, 0%, 75%, 52.9%)
CIE-LABlab(45.78, -30.15, 42.23)
CIE-LCHlch(45.78, 51.88, 125.52°)
OKLaboklab(52.24% -0.0851 0.0949)
OKLCHoklch(52.24% 0.127 131.9)
XYZxyz(10.0113, 15.1041, 3.6159)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D781E #491E78
analogous
#78761E #4D781E #20781E
triadic
#4D781E #1E4D78 #781E4D
tetradic
#4D781E #1E7876 #491E78 #781E20
square
#4D781E #1E7876 #491E78 #781E20
split-complementary
#4D781E #1E2078 #761E78
monochromatic
#101806 #2E4712 #4D781E #6CA92A #8BCF41

Accessibility & contrast

On white

5.22
#4D781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4D781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D781E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D781E#FFFFFF#000000##FFFFFF
##4D781E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d781e;
/* rgb */ color: rgb(77, 120, 30);
/* oklch */ color: oklch(52.2% 0.127 131.9);
Tailwind
colors: {
  custom: {
    50: '#839f60',
    500: '#4d781e',
    950: '#000000',
  },
}
SCSS
$custom: #4d781e;
$custom-light: #839f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d781e",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 88.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.12746,
    "h": 131.9
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#4D781E
secondary
#7746AC
accent
#45E390
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D781E

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

Preview Lab → · Contrast checker → · Palette generator →

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