#4E8E2C#4E8E2C

#4E8E2C is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.147 H 136.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E8E2C
RGBrgb(78, 142, 44)
HSLhsl(99, 53%, 36%)
HSVhsv(99, 69%, 56%)
CMYKcmyk(45.1%, 0%, 69%, 44.3%)
CIE-LABlab(53.11, -38.51, 44.05)
CIE-LCHlch(53.11, 58.51, 131.16°)
OKLaboklab(58.29% -0.1067 0.1008)
OKLCHoklch(58.29% 0.147 136.7)
XYZxyz(13.2691, 21.1468, 5.7649)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E2C #6C2C8E
analogous
#7F8E2C #4E8E2C #2C8E3B
triadic
#4E8E2C #2C4E8E #8E2C4E
tetradic
#4E8E2C #2C7F8E #6C2C8E #8E3B2C
square
#4E8E2C #2C7F8E #6C2C8E #8E3B2C
split-complementary
#4E8E2C #3B2C8E #8E2C7F
monochromatic
#1B310F #345F1E #4E8E2C #68BD3A #8ACF65

Accessibility & contrast

On white

4.02
#4E8E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4E8E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E2C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E2C#FFFFFF#000000##000000
##4E8E2C1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e2c;
/* rgb */ color: rgb(78, 142, 44);
/* oklch */ color: oklch(58.3% 0.147 136.7);
Tailwind
colors: {
  custom: {
    50: '#85af6a',
    500: '#4e8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e2c;
$custom-light: #85af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e2c",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 99.184,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.14679,
    "h": 136.7
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

primary
#4E8E2C
secondary
#9860B6
accent
#4CDCAA
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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