#4E7D2A#4E7D2A

#4E7D2A is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.125 H 134.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4E7D2A
RGBrgb(78, 125, 42)
HSLhsl(94, 50%, 33%)
HSVhsv(94, 66%, 49%)
CMYKcmyk(37.6%, 0%, 66.4%, 51%)
CIE-LABlab(47.56, -31.11, 38.98)
CIE-LCHlch(47.56, 49.87, 128.59°)
OKLaboklab(53.74% -0.0868 0.0898)
OKLCHoklch(53.74% 0.125 134)
XYZxyz(10.8932, 16.4536, 4.7919)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D2A #592A7D
analogous
#777D2A #4E7D2A #2A7D2F
triadic
#4E7D2A #2A4E7D #7D2A4E
tetradic
#4E7D2A #2A777D #592A7D #7D2F2A
square
#4E7D2A #2A777D #592A7D #7D2F2A
split-complementary
#4E7D2A #2F2A7D #7D2A77
monochromatic
#15210B #314F1B #4E7D2A #6BAB39 #89C85A

Accessibility & contrast

On white

4.89
#4E7D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4E7D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D2A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D2A#FFFFFF#000000##FFFFFF
##4E7D2A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827320
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#4E786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d2a;
/* rgb */ color: rgb(78, 125, 42);
/* oklch */ color: oklch(53.7% 0.125 134.0);
Tailwind
colors: {
  custom: {
    50: '#83a368',
    500: '#4e7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d2a;
$custom-light: #83a368;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d2a",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 93.976,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53744,
    "c": 0.12487,
    "h": 134
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#4E7D2A
secondary
#8756AD
accent
#4FD99D
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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