#4E8A2D#4E8A2D

#4E8A2D is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.141 H 136.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4E8A2D
RGBrgb(78, 138, 45)
HSLhsl(99, 51%, 36%)
HSVhsv(99, 67%, 54%)
CMYKcmyk(43.5%, 0%, 67.4%, 45.9%)
CIE-LABlab(51.82, -36.69, 42.25)
CIE-LCHlch(51.82, 55.95, 130.97°)
OKLaboklab(57.23% -0.1017 0.0971)
OKLCHoklch(57.23% 0.141 136.3)
XYZxyz(12.7037, 19.9854, 5.6703)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A2D #692D8A
analogous
#7C8A2D #4E8A2D #2D8A3A
triadic
#4E8A2D #2D4E8A #8A2D4E
tetradic
#4E8A2D #2D7C8A #692D8A #8A3A2D
square
#4E8A2D #2D7C8A #692D8A #8A3A2D
split-complementary
#4E8A2D #3A2D8A #8A2D7C
monochromatic
#1A2E0F #345C1E #4E8A2D #68B83C #8ACD65

Accessibility & contrast

On white

4.20
#4E8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4E8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A2D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A2D#FFFFFF#000000##000000
##4E8A2D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#4C8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8a2d;
/* rgb */ color: rgb(78, 138, 45);
/* oklch */ color: oklch(57.2% 0.141 136.3);
Tailwind
colors: {
  custom: {
    50: '#84ac6b',
    500: '#4e8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a2d;
$custom-light: #84ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a2d",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 98.71,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.14061,
    "h": 136.3
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#4E8A2D
secondary
#9660B3
accent
#4DDAA8
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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