#4E7A2F#4E7A2F

#4E7A2F is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.0% C 0.116 H 134.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E7A2F
RGBrgb(78, 122, 47)
HSLhsl(95, 44%, 33%)
HSVhsv(95, 61%, 48%)
CMYKcmyk(36.1%, 0%, 61.5%, 52.2%)
CIE-LABlab(46.64, -29.20, 35.58)
CIE-LCHlch(46.64, 46.03, 129.38°)
OKLaboklab(53% -0.0811 0.0832)
OKLCHoklch(53% 0.116 134.3)
XYZxyz(10.6143, 15.7436, 5.1683)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A2F #5B2F7A
analogous
#737A2F #4E7A2F #2F7A35
triadic
#4E7A2F #2F4E7A #7A2F4E
tetradic
#4E7A2F #2F737A #5B2F7A #7A352F
square
#4E7A2F #2F737A #5B2F7A #7A352F
split-complementary
#4E7A2F #352F7A #7A2F73
monochromatic
#16220D #324E1E #4E7A2F #6AA640 #89C261

Accessibility & contrast

On white

5.06
#4E7A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4E7A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A2F#FFFFFF#000000##FFFFFF
##4E7A2F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#4E756A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7a2f;
/* rgb */ color: rgb(78, 122, 47);
/* oklch */ color: oklch(53.0% 0.116 134.3);
Tailwind
colors: {
  custom: {
    50: '#83a16a',
    500: '#4e7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a2f;
$custom-light: #83a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a2f",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 95.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53004,
    "c": 0.11618,
    "h": 134.3
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#4E7A2F
secondary
#895CA9
accent
#54D49F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #4E7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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