#4E7127#4E7127

#4E7127 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.110 H 130.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4E7127
RGBrgb(78, 113, 39)
HSLhsl(88, 49%, 30%)
HSVhsv(88, 65%, 44%)
CMYKcmyk(31%, 0%, 65.5%, 55.7%)
CIE-LABlab(43.62, -25.65, 36.06)
CIE-LCHlch(43.62, 44.25, 125.42°)
OKLaboklab(50.52% -0.0721 0.0832)
OKLCHoklch(50.52% 0.11 130.9)
XYZxyz(9.4131, 13.5762, 4.0436)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7127 #4A2771
analogous
#716F27 #4E7127 #297127
triadic
#4E7127 #274E71 #71274E
tetradic
#4E7127 #27716F #4A2771 #712729
square
#4E7127 #27716F #4A2771 #712729
split-complementary
#4E7127 #272971 #6F2771
monochromatic
#101708 #2F4417 #4E7127 #6D9E37 #8CC350

Accessibility & contrast

On white

5.65
#4E7127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4E7127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7127
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7127#FFFFFF#000000##FFFFFF
##4E71271.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691E
Deuteranopia (green-blind)
#71662D
Tritanopia (blue-blind)
#506C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7127;
/* rgb */ color: rgb(78, 113, 39);
/* oklch */ color: oklch(50.5% 0.110 130.9);
Tailwind
colors: {
  custom: {
    50: '#829a65',
    500: '#4e7127',
    950: '#000000',
  },
}
SCSS
$custom: #4e7127;
$custom-light: #829a65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7127",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 88.378,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50523,
    "c": 0.1101,
    "h": 130.9
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#4E7127
secondary
#7850A3
accent
#50D890
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7127

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

Preview Lab → · Contrast checker → · Palette generator →

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