#4D781D#4D781D

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

Color values

HEX#4D781D
RGBrgb(77, 120, 29)
HSLhsl(88, 61%, 29%)
HSVhsv(88, 76%, 47%)
CMYKcmyk(35.8%, 0%, 75.8%, 52.9%)
CIE-LABlab(45.77, -30.22, 42.61)
CIE-LCHlch(45.77, 52.23, 125.34°)
OKLaboklab(52.23% -0.0853 0.0955)
OKLCHoklch(52.23% 0.128 131.8)
XYZxyz(9.9987, 15.0990, 3.5497)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D781D #481D78
analogous
#78761D #4D781D #1F781D
triadic
#4D781D #1D4D78 #781D4D
tetradic
#4D781D #1D7876 #481D78 #781D1F
square
#4D781D #1D7876 #481D78 #781D1F
split-complementary
#4D781D #1D1F78 #761D78
monochromatic
#101906 #2D4711 #4D781D #6DA929 #8CD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D781D#FFFFFF#000000##FFFFFF
##4D781D1.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)
#7D6E0C
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#4E7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d781d;
/* rgb */ color: rgb(77, 120, 29);
/* oklch */ color: oklch(52.2% 0.128 131.8);
Tailwind
colors: {
  custom: {
    50: '#839f60',
    500: '#4d781d',
    950: '#000000',
  },
}
SCSS
$custom: #4d781d;
$custom-light: #839f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d781d",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 88.352,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.12811,
    "h": 131.8
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#4D781D
secondary
#7645AC
accent
#44E48F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D781D

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

Preview Lab → · Contrast checker → · Palette generator →

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