#4E792B#4E792B

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

Color values

HEX#4E792B
RGBrgb(78, 121, 43)
HSLhsl(93, 48%, 32%)
HSVhsv(93, 64%, 47%)
CMYKcmyk(35.5%, 0%, 64.5%, 52.5%)
CIE-LABlab(46.27, -29.14, 37.09)
CIE-LCHlch(46.27, 47.17, 128.15°)
OKLaboklab(52.69% -0.0813 0.0859)
OKLCHoklch(52.69% 0.118 133.4)
XYZxyz(10.4151, 15.4684, 4.7220)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E792B #562B79
analogous
#75792B #4E792B #2B792F
triadic
#4E792B #2B4E79 #792B4E
tetradic
#4E792B #2B7579 #562B79 #792F2B
square
#4E792B #2B7579 #562B79 #792F2B
split-complementary
#4E792B #2F2B79 #792B75
monochromatic
#141F0B #314C1B #4E792B #6BA63B #8AC45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E792B#FFFFFF#000000##FFFFFF
##4E792B1.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)
#7E7022
Deuteranopia (green-blind)
#786C31
Tritanopia (blue-blind)
#4E7469
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e792b;
/* rgb */ color: rgb(78, 121, 43);
/* oklch */ color: oklch(52.7% 0.118 133.4);
Tailwind
colors: {
  custom: {
    50: '#83a068',
    500: '#4e792b',
    950: '#000000',
  },
}
SCSS
$custom: #4e792b;
$custom-light: #83a068;
$custom-dark: #000000;
JSON
{
  "hex": "#4e792b",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 93.077,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.11828,
    "h": 133.4
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#4E792B
secondary
#8456AA
accent
#51D79B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E792B

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

Preview Lab → · Contrast checker → · Palette generator →

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