#4E8F2C#4E8F2C

#4E8F2C is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.6% C 0.148 H 136.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4E8F2C
RGBrgb(78, 143, 44)
HSLhsl(99, 53%, 37%)
HSVhsv(99, 69%, 56%)
CMYKcmyk(45.5%, 0%, 69.2%, 43.9%)
CIE-LABlab(53.43, -38.93, 44.40)
CIE-LCHlch(53.43, 59.05, 131.25°)
OKLaboklab(58.55% -0.1079 0.1015)
OKLCHoklch(58.55% 0.148 136.8)
XYZxyz(13.4186, 21.4457, 5.8147)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F2C #6D2C8F
analogous
#808F2C #4E8F2C #2C8F3C
triadic
#4E8F2C #2C4E8F #8F2C4E
tetradic
#4E8F2C #2C808F #6D2C8F #8F3C2C
square
#4E8F2C #2C808F #6D2C8F #8F3C2C
split-complementary
#4E8F2C #3C2C8F #8F2C80
monochromatic
#1B310F #34601E #4E8F2C #68BE3A #8AD066

Accessibility & contrast

On white

3.97
#4E8F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4E8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F2C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F2C#FFFFFF#000000##000000
##4E8F2C1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#8B7E35
Tritanopia (blue-blind)
#4B8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e8f2c;
/* rgb */ color: rgb(78, 143, 44);
/* oklch */ color: oklch(58.6% 0.148 136.8);
Tailwind
colors: {
  custom: {
    50: '#85b06b',
    500: '#4e8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f2c;
$custom-light: #85b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f2c",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 99.394,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.14812,
    "h": 136.8
  },
  "luminance": 0.21446
}

Semantic roles & 50–950 ramp

primary
#4E8F2C
secondary
#9961B6
accent
#4BDCAB
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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