#4E7A2C#4E7A2C

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

Color values

HEX#4E7A2C
RGBrgb(78, 122, 44)
HSLhsl(94, 47%, 33%)
HSVhsv(94, 64%, 48%)
CMYKcmyk(36.1%, 0%, 63.9%, 52.2%)
CIE-LABlab(46.61, -29.51, 36.99)
CIE-LCHlch(46.61, 47.32, 128.58°)
OKLaboklab(52.97% -0.0822 0.0858)
OKLCHoklch(52.97% 0.119 133.8)
XYZxyz(10.5558, 15.7202, 4.8605)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A2C #582C7A
analogous
#757A2C #4E7A2C #2C7A31
triadic
#4E7A2C #2C4E7A #7A2C4E
tetradic
#4E7A2C #2C757A #582C7A #7A312C
square
#4E7A2C #2C757A #582C7A #7A312C
split-complementary
#4E7A2C #312C7A #7A2C75
monochromatic
#14200C #314D1C #4E7A2C #6BA73C #8AC45C

Accessibility & contrast

On white

5.07
#4E7A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4E7A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A2C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A2C#FFFFFF#000000##FFFFFF
##4E7A2C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#4E7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a2c;
/* rgb */ color: rgb(78, 122, 44);
/* oklch */ color: oklch(53.0% 0.119 133.8);
Tailwind
colors: {
  custom: {
    50: '#83a169',
    500: '#4e7a2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a2c;
$custom-light: #83a169;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a2c",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 93.846,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.11886,
    "h": 133.8
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#4E7A2C
secondary
#8657AA
accent
#51D79C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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