#4E792F#4E792F

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

Color values

HEX#4E792F
RGBrgb(78, 121, 47)
HSLhsl(95, 44%, 33%)
HSVhsv(95, 61%, 47%)
CMYKcmyk(35.5%, 0%, 61.2%, 52.5%)
CIE-LABlab(46.31, -28.73, 35.21)
CIE-LCHlch(46.31, 45.44, 129.21°)
OKLaboklab(52.74% -0.0798 0.0824)
OKLCHoklch(52.74% 0.115 134.1)
XYZxyz(10.4921, 15.4993, 5.1276)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E792F #5A2F79
analogous
#73792F #4E792F #2F7935
triadic
#4E792F #2F4E79 #792F4E
tetradic
#4E792F #2F7379 #5A2F79 #79352F
square
#4E792F #2F7379 #5A2F79 #79352F
split-complementary
#4E792F #352F79 #792F73
monochromatic
#15210D #324D1E #4E792F #6AA540 #89C261

Accessibility & contrast

On white

5.12
#4E792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4E792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E792F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E792F#FFFFFF#000000##FFFFFF
##4E792F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#4E7469
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e792f;
/* rgb */ color: rgb(78, 121, 47);
/* oklch */ color: oklch(52.7% 0.115 134.1);
Tailwind
colors: {
  custom: {
    50: '#82a06a',
    500: '#4e792f',
    950: '#000000',
  },
}
SCSS
$custom: #4e792f;
$custom-light: #82a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e792f",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 94.865,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.1147,
    "h": 134.1
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#4E792F
secondary
#885BA8
accent
#54D49E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E792F

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

Preview Lab → · Contrast checker → · Palette generator →

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