#4E792A#4E792A

#4E792A is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.119 H 133.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4E792A
RGBrgb(78, 121, 42)
HSLhsl(93, 48%, 32%)
HSVhsv(93, 65%, 47%)
CMYKcmyk(35.5%, 0%, 65.3%, 52.5%)
CIE-LABlab(46.26, -29.23, 37.55)
CIE-LCHlch(46.26, 47.59, 127.90°)
OKLaboklab(52.68% -0.0816 0.0868)
OKLCHoklch(52.68% 0.119 133.3)
XYZxyz(10.3970, 15.4612, 4.6265)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E792A #552A79
analogous
#76792A #4E792A #2A792E
triadic
#4E792A #2A4E79 #792A4E
tetradic
#4E792A #2A7679 #552A79 #792E2A
square
#4E792A #2A7679 #552A79 #792E2A
split-complementary
#4E792A #2E2A79 #792A76
monochromatic
#131E0A #314C1A #4E792A #6BA63A #8AC558

Accessibility & contrast

On white

5.13
#4E792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4E792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E792A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E792A#FFFFFF#000000##FFFFFF
##4E792A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7021
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#4E7468
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e792a;
/* rgb */ color: rgb(78, 121, 42);
/* oklch */ color: oklch(52.7% 0.119 133.3);
Tailwind
colors: {
  custom: {
    50: '#83a067',
    500: '#4e792a',
    950: '#000000',
  },
}
SCSS
$custom: #4e792a;
$custom-light: #83a067;
$custom-dark: #000000;
JSON
{
  "hex": "#4e792a",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 92.658,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52681,
    "c": 0.11915,
    "h": 133.3
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#4E792A
secondary
#8354AB
accent
#50D89A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E792A

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

Preview Lab → · Contrast checker → · Palette generator →

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