#4F781D#4F781D

#4F781D is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.4% C 0.127 H 131.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4F781D
RGBrgb(79, 120, 29)
HSLhsl(87, 61%, 29%)
HSVhsv(87, 76%, 47%)
CMYKcmyk(34.2%, 0%, 75.8%, 52.9%)
CIE-LABlab(45.88, -29.43, 42.76)
CIE-LCHlch(45.88, 51.91, 124.54°)
OKLaboklab(52.36% -0.0833 0.0958)
OKLCHoklch(52.36% 0.127 131)
XYZxyz(10.1626, 15.1836, 3.5574)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F781D #461D78
analogous
#78741D #4F781D #22781D
triadic
#4F781D #1D4F78 #781D4F
tetradic
#4F781D #1D7874 #461D78 #781D22
square
#4F781D #1D7874 #461D78 #781D22
split-complementary
#4F781D #1D2278 #741D78
monochromatic
#101906 #2F4711 #4F781D #6FA929 #8FD13F

Accessibility & contrast

On white

5.20
#4F781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4F781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F781D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F781D#FFFFFF#000000##FFFFFF
##4F781D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0C
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#517366
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f781d;
/* rgb */ color: rgb(79, 120, 29);
/* oklch */ color: oklch(52.4% 0.127 131.0);
Tailwind
colors: {
  custom: {
    50: '#849f60',
    500: '#4f781d',
    950: '#000000',
  },
}
SCSS
$custom: #4f781d;
$custom-light: #849f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f781d",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 87.033,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.127,
    "h": 131
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#4F781D
secondary
#7345AC
accent
#44E48C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F781D

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

Preview Lab → · Contrast checker → · Palette generator →

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