#4E7C2E#4E7C2E

#4E7C2E is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.120 H 134.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4E7C2E
RGBrgb(78, 124, 46)
HSLhsl(95, 46%, 33%)
HSVhsv(95, 63%, 49%)
CMYKcmyk(37.1%, 0%, 62.9%, 51.4%)
CIE-LABlab(47.28, -30.25, 36.79)
CIE-LCHlch(47.28, 47.63, 129.43°)
OKLaboklab(53.52% -0.0841 0.0856)
OKLCHoklch(53.52% 0.12 134.5)
XYZxyz(10.8425, 16.2318, 5.1460)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C2E #5C2E7C
analogous
#757C2E #4E7C2E #2E7C35
triadic
#4E7C2E #2E4E7C #7C2E4E
tetradic
#4E7C2E #2E757C #5C2E7C #7C352E
square
#4E7C2E #2E757C #5C2E7C #7C352E
split-complementary
#4E7C2E #352E7C #7C2E75
monochromatic
#16230D #324F1D #4E7C2E #6AA93F #89C460

Accessibility & contrast

On white

4.95
#4E7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4E7C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C2E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C2E#FFFFFF#000000##FFFFFF
##4E7C2E1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#7A6F34
Tritanopia (blue-blind)
#4E776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c2e;
/* rgb */ color: rgb(78, 124, 46);
/* oklch */ color: oklch(53.5% 0.120 134.5);
Tailwind
colors: {
  custom: {
    50: '#83a26a',
    500: '#4e7c2e',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c2e;
$custom-light: #83a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c2e",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 95.385,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.12001,
    "h": 134.5
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#4E7C2E
secondary
#8A5BAB
accent
#52D6A0
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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