#4E7932#4E7932

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

Color values

HEX#4E7932
RGBrgb(78, 121, 50)
HSLhsl(96, 42%, 34%)
HSVhsv(96, 59%, 47%)
CMYKcmyk(35.5%, 0%, 58.7%, 52.5%)
CIE-LABlab(46.34, -28.39, 33.75)
CIE-LCHlch(46.34, 44.11, 130.08°)
OKLaboklab(52.78% -0.0787 0.0795)
OKLCHoklch(52.78% 0.112 134.7)
XYZxyz(10.5548, 15.5243, 5.4574)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7932 #5D3279
analogous
#717932 #4E7932 #327939
triadic
#4E7932 #324E79 #79324E
tetradic
#4E7932 #327179 #5D3279 #793932
square
#4E7932 #327179 #5D3279 #793932
split-complementary
#4E7932 #393279 #793271
monochromatic
#16220E #324E20 #4E7932 #6AA444 #89C066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7932#FFFFFF#000000##FFFFFF
##4E79321.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)
#7D702B
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#4E7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7932;
/* rgb */ color: rgb(78, 121, 50);
/* oklch */ color: oklch(52.8% 0.112 134.7);
Tailwind
colors: {
  custom: {
    50: '#82a06c',
    500: '#4e7932',
    950: '#000000',
  },
}
SCSS
$custom: #4e7932;
$custom-light: #82a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7932",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 50
  },
  "hsl": {
    "h": 96.338,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.11187,
    "h": 134.7
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#4E7932
secondary
#8B5FA7
accent
#56D1A1
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7932

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

Preview Lab → · Contrast checker → · Palette generator →

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