#4E7C2F#4E7C2F

#4E7C2F is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.119 H 134.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4E7C2F
RGBrgb(78, 124, 47)
HSLhsl(96, 45%, 34%)
HSVhsv(96, 62%, 49%)
CMYKcmyk(37.1%, 0%, 62.1%, 51.4%)
CIE-LABlab(47.29, -30.15, 36.32)
CIE-LCHlch(47.29, 47.20, 129.70°)
OKLaboklab(53.54% -0.0837 0.0847)
OKLCHoklch(53.54% 0.119 134.7)
XYZxyz(10.8624, 16.2398, 5.2510)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C2F #5D2F7C
analogous
#747C2F #4E7C2F #2F7C36
triadic
#4E7C2F #2F4E7C #7C2F4E
tetradic
#4E7C2F #2F747C #5D2F7C #7C362F
square
#4E7C2F #2F747C #5D2F7C #7C362F
split-complementary
#4E7C2F #362F7C #7C2F74
monochromatic
#16230D #32501E #4E7C2F #6AA840 #89C362

Accessibility & contrast

On white

4.94
#4E7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7C2F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C2F#FFFFFF#000000##FFFFFF
##4E7C2F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817327
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#4D776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c2f;
/* rgb */ color: rgb(78, 124, 47);
/* oklch */ color: oklch(53.5% 0.119 134.7);
Tailwind
colors: {
  custom: {
    50: '#83a26b',
    500: '#4e7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c2f;
$custom-light: #83a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c2f",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 95.844,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.11913,
    "h": 134.7
  },
  "luminance": 0.1624
}

Semantic roles & 50–950 ramp

primary
#4E7C2F
secondary
#8B5CAA
accent
#53D5A1
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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