#4E8A2C#4E8A2C

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

Color values

HEX#4E8A2C
RGBrgb(78, 138, 44)
HSLhsl(98, 52%, 36%)
HSVhsv(98, 68%, 54%)
CMYKcmyk(43.5%, 0%, 68.1%, 45.9%)
CIE-LABlab(51.81, -36.78, 42.67)
CIE-LCHlch(51.81, 56.33, 130.76°)
OKLaboklab(57.22% -0.1021 0.0978)
OKLCHoklch(57.22% 0.141 136.2)
XYZxyz(12.6847, 19.9778, 5.5701)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A2C #682C8A
analogous
#7D8A2C #4E8A2C #2C8A39
triadic
#4E8A2C #2C4E8A #8A2C4E
tetradic
#4E8A2C #2C7D8A #682C8A #8A392C
square
#4E8A2C #2C7D8A #682C8A #8A392C
split-complementary
#4E8A2C #392C8A #8A2C7D
monochromatic
#1A2D0E #345C1D #4E8A2C #68B83B #8ACD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8A2C#FFFFFF#000000##000000
##4E8A2C1.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)
#8F7F1F
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#4C8577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a2c;
/* rgb */ color: rgb(78, 138, 44);
/* oklch */ color: oklch(57.2% 0.141 136.2);
Tailwind
colors: {
  custom: {
    50: '#85ac6a',
    500: '#4e8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a2c;
$custom-light: #85ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a2c",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 98.298,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.14138,
    "h": 136.2
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#4E8A2C
secondary
#955EB4
accent
#4DDBA8
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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