#4E7118#4E7118

#4E7118 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.121 H 129.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4E7118
RGBrgb(78, 113, 24)
HSLhsl(84, 65%, 27%)
HSVhsv(84, 79%, 44%)
CMYKcmyk(31%, 0%, 78.8%, 55.7%)
CIE-LABlab(43.50, -26.80, 42.29)
CIE-LCHlch(43.50, 50.07, 122.36°)
OKLaboklab(50.39% -0.0766 0.094)
OKLCHoklch(50.39% 0.121 129.1)
XYZxyz(9.2119, 13.4956, 2.9836)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7118 #3B1871
analogous
#716818 #4E7118 #217118
triadic
#4E7118 #184E71 #71184E
tetradic
#4E7118 #187168 #3B1871 #711821
square
#4E7118 #187168 #3B1871 #711821
split-complementary
#4E7118 #182171 #681871
monochromatic
#111905 #2B3F0D #4E7118 #71A323 #93D330

Accessibility & contrast

On white

5.68
#4E7118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E7118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7118
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7118#FFFFFF#000000##FFFFFF
##4E71181.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776805
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#516C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7118;
/* rgb */ color: rgb(78, 113, 24);
/* oklch */ color: oklch(50.4% 0.121 129.1);
Tailwind
colors: {
  custom: {
    50: '#839a5c',
    500: '#4e7118',
    950: '#000000',
  },
}
SCSS
$custom: #4e7118;
$custom-light: #839a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7118",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 83.596,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.12125,
    "h": 129.1
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#4E7118
secondary
#673EA6
accent
#40E882
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7118

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

Preview Lab → · Contrast checker → · Palette generator →

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