#4E7F2E#4E7F2E

#4E7F2E is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.124 H 135.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E7F2E
RGBrgb(78, 127, 46)
HSLhsl(96, 47%, 34%)
HSVhsv(96, 64%, 50%)
CMYKcmyk(38.6%, 0%, 63.8%, 50.2%)
CIE-LABlab(48.25, -31.65, 37.88)
CIE-LCHlch(48.25, 49.36, 129.88°)
OKLaboklab(54.32% -0.0879 0.088)
OKLCHoklch(54.32% 0.124 135)
XYZxyz(11.2242, 16.9952, 5.2732)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F2E #5F2E7F
analogous
#777F2E #4E7F2E #2E7F37
triadic
#4E7F2E #2E4E7F #7F2E4E
tetradic
#4E7F2E #2E777F #5F2E7F #7F372E
square
#4E7F2E #2E777F #5F2E7F #7F372E
split-complementary
#4E7F2E #372E7F #7F2E77
monochromatic
#17250D #32521E #4E7F2E #6AAC3E #89C661

Accessibility & contrast

On white

4.77
#4E7F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4E7F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F2E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F2E#FFFFFF#000000##FFFFFF
##4E7F2E1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847525
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#4D7A6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e7f2e;
/* rgb */ color: rgb(78, 127, 46);
/* oklch */ color: oklch(54.3% 0.124 135.0);
Tailwind
colors: {
  custom: {
    50: '#83a46a',
    500: '#4e7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f2e;
$custom-light: #83a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f2e",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 96.296,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.12436,
    "h": 135
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#4E7F2E
secondary
#8D5CAD
accent
#51D6A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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