#4E7835#4E7835

#4E7835 is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.6% C 0.107 H 135.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4E7835
RGBrgb(78, 120, 53)
HSLhsl(98, 39%, 34%)
HSVhsv(98, 56%, 47%)
CMYKcmyk(35%, 0%, 55.8%, 52.9%)
CIE-LABlab(46.05, -27.56, 31.87)
CIE-LCHlch(46.05, 42.14, 130.85°)
OKLaboklab(52.55% -0.0762 0.0757)
OKLCHoklch(52.55% 0.107 135.2)
XYZxyz(10.5007, 15.3093, 5.7692)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7835 #5F3578
analogous
#707835 #4E7835 #35783E
triadic
#4E7835 #354E78 #78354E
tetradic
#4E7835 #357078 #5F3578 #783E35
square
#4E7835 #357078 #5F3578 #783E35
split-complementary
#4E7835 #3E3578 #783570
monochromatic
#172310 #324E22 #4E7835 #6AA248 #89BD6A

Accessibility & contrast

On white

5.17
#4E7835 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4E7835 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7835
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7835#FFFFFF#000000##FFFFFF
##4E78351.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2F
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#4D7469
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7835;
/* rgb */ color: rgb(78, 120, 53);
/* oklch */ color: oklch(52.6% 0.107 135.2);
Tailwind
colors: {
  custom: {
    50: '#829f6e',
    500: '#4e7835',
    950: '#000000',
  },
}
SCSS
$custom: #4e7835;
$custom-light: #829f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7835",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 53
  },
  "hsl": {
    "h": 97.612,
    "s": 38.728,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52553,
    "c": 0.10739,
    "h": 135.2
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#4E7835
secondary
#8D63A6
accent
#59CFA3
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7835

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

Preview Lab → · Contrast checker → · Palette generator →

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