#4E8D2A#4E8D2A

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

Color values

HEX#4E8D2A
RGBrgb(78, 141, 42)
HSLhsl(98, 54%, 36%)
HSVhsv(98, 70%, 55%)
CMYKcmyk(44.7%, 0%, 70.2%, 44.7%)
CIE-LABlab(52.77, -38.25, 44.54)
CIE-LCHlch(52.77, 58.71, 130.66°)
OKLaboklab(58% -0.1062 0.1015)
OKLCHoklch(58% 0.147 136.3)
XYZxyz(13.0843, 20.8358, 5.5223)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D2A #692A8D
analogous
#7F8D2A #4E8D2A #2A8D37
triadic
#4E8D2A #2A4E8D #8D2A4E
tetradic
#4E8D2A #2A7F8D #692A8D #8D372A
square
#4E8D2A #2A7F8D #692A8D #8D372A
split-complementary
#4E8D2A #372A8D #8D2A7F
monochromatic
#1A2F0E #345E1C #4E8D2A #68BC38 #8AD061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8D2A#FFFFFF#000000##000000
##4E8D2A1.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)
#92811B
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d2a;
/* rgb */ color: rgb(78, 141, 42);
/* oklch */ color: oklch(58.0% 0.147 136.3);
Tailwind
colors: {
  custom: {
    50: '#85af69',
    500: '#4e8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d2a;
$custom-light: #85af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d2a",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 98.182,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.1469,
    "h": 136.3
  },
  "luminance": 0.20837
}

Semantic roles & 50–950 ramp

primary
#4E8D2A
secondary
#965DB6
accent
#4ADDA8
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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