#4E7935#4E7935

#4E7935 is a mid, moderate yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.109 H 135.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E7935
RGBrgb(78, 121, 53)
HSLhsl(98, 39%, 34%)
HSVhsv(98, 56%, 47%)
CMYKcmyk(35.5%, 0%, 56.2%, 52.5%)
CIE-LABlab(46.38, -28.04, 32.26)
CIE-LCHlch(46.38, 42.74, 131.00°)
OKLaboklab(52.82% -0.0775 0.0766)
OKLCHoklch(52.82% 0.109 135.3)
XYZxyz(10.6216, 15.5510, 5.8095)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7935 #603579
analogous
#707935 #4E7935 #35793E
triadic
#4E7935 #354E79 #79354E
tetradic
#4E7935 #357079 #603579 #793E35
square
#4E7935 #357079 #603579 #793E35
split-complementary
#4E7935 #3E3579 #793570
monochromatic
#172410 #334E22 #4E7935 #69A448 #89BE6A

Accessibility & contrast

On white

5.11
#4E7935 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4E7935 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7935
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7935#FFFFFF#000000##FFFFFF
##4E79351.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702F
Deuteranopia (green-blind)
#776D3A
Tritanopia (blue-blind)
#4D756A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7935;
/* rgb */ color: rgb(78, 121, 53);
/* oklch */ color: oklch(52.8% 0.109 135.3);
Tailwind
colors: {
  custom: {
    50: '#82a06e',
    500: '#4e7935',
    950: '#000000',
  },
}
SCSS
$custom: #4e7935;
$custom-light: #82a06e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7935",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 53
  },
  "hsl": {
    "h": 97.941,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52818,
    "c": 0.10892,
    "h": 135.3
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#4E7935
secondary
#8E63A6
accent
#59CFA4
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7935

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

Preview Lab → · Contrast checker → · Palette generator →

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