#4E7A2A#4E7A2A

#4E7A2A is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.121 H 133.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E7A2A
RGBrgb(78, 122, 42)
HSLhsl(93, 49%, 32%)
HSVhsv(93, 66%, 48%)
CMYKcmyk(36.1%, 0%, 65.6%, 52.2%)
CIE-LABlab(46.59, -29.71, 37.91)
CIE-LCHlch(46.59, 48.16, 128.08°)
OKLaboklab(52.95% -0.0829 0.0875)
OKLCHoklch(52.95% 0.121 133.5)
XYZxyz(10.5192, 15.7055, 4.6673)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A2A #562A7A
analogous
#767A2A #4E7A2A #2A7A2E
triadic
#4E7A2A #2A4E7A #7A2A4E
tetradic
#4E7A2A #2A767A #562A7A #7A2E2A
square
#4E7A2A #2A767A #562A7A #7A2E2A
split-complementary
#4E7A2A #2E2A7A #7A2A76
monochromatic
#141F0B #314C1A #4E7A2A #6BA83A #8AC659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7A2A#FFFFFF#000000##FFFFFF
##4E7A2A1.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)
#7F7120
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#4E7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a2a;
/* rgb */ color: rgb(78, 122, 42);
/* oklch */ color: oklch(52.9% 0.121 133.5);
Tailwind
colors: {
  custom: {
    50: '#83a167',
    500: '#4e7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a2a;
$custom-light: #83a167;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a2a",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 93,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.12058,
    "h": 133.5
  },
  "luminance": 0.15706
}

Semantic roles & 50–950 ramp

primary
#4E7A2A
secondary
#8455AB
accent
#4FD89B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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