#4E8D2C#4E8D2C

#4E8D2C is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.145 H 136.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4E8D2C
RGBrgb(78, 141, 44)
HSLhsl(99, 52%, 36%)
HSVhsv(99, 69%, 55%)
CMYKcmyk(44.7%, 0%, 68.8%, 44.7%)
CIE-LABlab(52.79, -38.08, 43.71)
CIE-LCHlch(52.79, 57.97, 131.06°)
OKLaboklab(58.02% -0.1056 0.1)
OKLCHoklch(58.02% 0.145 136.5)
XYZxyz(13.1210, 20.8505, 5.7156)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D2C #6B2C8D
analogous
#7F8D2C #4E8D2C #2C8D3B
triadic
#4E8D2C #2C4E8D #8D2C4E
tetradic
#4E8D2C #2C7F8D #6B2C8D #8D3B2C
square
#4E8D2C #2C7F8D #6B2C8D #8D3B2C
split-complementary
#4E8D2C #3B2C8D #8D2C7F
monochromatic
#1A300F #345E1D #4E8D2C #68BC3B #8ACF65

Accessibility & contrast

On white

4.06
#4E8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4E8D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D2C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D2C#FFFFFF#000000##000000
##4E8D2C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811F
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d2c;
/* rgb */ color: rgb(78, 141, 44);
/* oklch */ color: oklch(58.0% 0.145 136.5);
Tailwind
colors: {
  custom: {
    50: '#85af6a',
    500: '#4e8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d2c;
$custom-light: #85af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d2c",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 98.969,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5802,
    "c": 0.14543,
    "h": 136.5
  },
  "luminance": 0.20851
}

Semantic roles & 50–950 ramp

primary
#4E8D2C
secondary
#9760B5
accent
#4CDCA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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