#4E7120#4E7120

#4E7120 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.5% C 0.116 H 129.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4E7120
RGBrgb(78, 113, 32)
HSLhsl(86, 56%, 28%)
HSVhsv(86, 72%, 44%)
CMYKcmyk(31%, 0%, 71.7%, 55.7%)
CIE-LABlab(43.56, -26.25, 39.17)
CIE-LCHlch(43.56, 47.15, 123.83°)
OKLaboklab(50.45% -0.0744 0.0888)
OKLCHoklch(50.45% 0.116 129.9)
XYZxyz(9.3077, 13.5340, 3.4881)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7120 #432071
analogous
#716B20 #4E7120 #257120
triadic
#4E7120 #204E71 #71204E
tetradic
#4E7120 #20716B #432071 #712025
square
#4E7120 #20716B #432071 #712025
split-complementary
#4E7120 #202571 #6B2071
monochromatic
#101807 #2D4112 #4E7120 #6FA12E #8FC942

Accessibility & contrast

On white

5.67
#4E7120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E7120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7120
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7120#FFFFFF#000000##FFFFFF
##4E71201.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766914
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#506C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7120;
/* rgb */ color: rgb(78, 113, 32);
/* oklch */ color: oklch(50.5% 0.116 129.9);
Tailwind
colors: {
  custom: {
    50: '#839a61',
    500: '#4e7120',
    950: '#000000',
  },
}
SCSS
$custom: #4e7120;
$custom-light: #839a61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7120",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 85.926,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.11581,
    "h": 129.9
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#4E7120
secondary
#7048A5
accent
#49DF8A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7120

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

Preview Lab → · Contrast checker → · Palette generator →

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