#4F781E#4F781E

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

Color values

HEX#4F781E
RGBrgb(79, 120, 30)
HSLhsl(87, 60%, 29%)
HSVhsv(87, 75%, 47%)
CMYKcmyk(34.2%, 0%, 75%, 52.9%)
CIE-LABlab(45.89, -29.36, 42.38)
CIE-LCHlch(45.89, 51.55, 124.71°)
OKLaboklab(52.36% -0.0831 0.0952)
OKLCHoklch(52.36% 0.126 131.1)
XYZxyz(10.1752, 15.1886, 3.6236)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F781E #471E78
analogous
#78741E #4F781E #22781E
triadic
#4F781E #1E4F78 #781E4F
tetradic
#4F781E #1E7874 #471E78 #781E22
square
#4F781E #1E7874 #471E78 #781E22
split-complementary
#4F781E #1E2278 #741E78
monochromatic
#101806 #2F4712 #4F781E #6FA92A #8FCF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F781E#FFFFFF#000000##FFFFFF
##4F781E1.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)
#7E6F0E
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#517366
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f781e;
/* rgb */ color: rgb(79, 120, 30);
/* oklch */ color: oklch(52.4% 0.126 131.1);
Tailwind
colors: {
  custom: {
    50: '#849f60',
    500: '#4f781e',
    950: '#000000',
  },
}
SCSS
$custom: #4f781e;
$custom-light: #849f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f781e",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 87.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.12634,
    "h": 131.1
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#4F781E
secondary
#7446AC
accent
#45E38D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F781E

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

Preview Lab → · Contrast checker → · Palette generator →

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