#4E8C2C#4E8C2C

#4E8C2C is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.144 H 136.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E8C2C
RGBrgb(78, 140, 44)
HSLhsl(99, 52%, 36%)
HSVhsv(99, 69%, 55%)
CMYKcmyk(44.3%, 0%, 68.6%, 45.1%)
CIE-LABlab(52.46, -37.65, 43.37)
CIE-LCHlch(52.46, 57.43, 130.96°)
OKLaboklab(57.75% -0.1044 0.0993)
OKLCHoklch(57.75% 0.144 136.4)
XYZxyz(12.9742, 20.5570, 5.6666)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C2C #6A2C8C
analogous
#7E8C2C #4E8C2C #2C8C3A
triadic
#4E8C2C #2C4E8C #8C2C4E
tetradic
#4E8C2C #2C7E8C #6A2C8C #8C3A2C
square
#4E8C2C #2C7E8C #6A2C8C #8C3A2C
split-complementary
#4E8C2C #3A2C8C #8C2C7E
monochromatic
#1A2F0F #345D1D #4E8C2C #68BB3B #8ACE64

Accessibility & contrast

On white

4.11
#4E8C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E8C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C2C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C2C#FFFFFF#000000##000000
##4E8C2C1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801F
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#4B8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c2c;
/* rgb */ color: rgb(78, 140, 44);
/* oklch */ color: oklch(57.8% 0.144 136.4);
Tailwind
colors: {
  custom: {
    50: '#85ae6a',
    500: '#4e8c2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c2c;
$custom-light: #85ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c2c",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 98.75,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.14409,
    "h": 136.4
  },
  "luminance": 0.20558
}

Semantic roles & 50–950 ramp

primary
#4E8C2C
secondary
#965FB5
accent
#4CDCA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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