#4E8E27#4E8E27

#4E8E27 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.150 H 136.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E8E27
RGBrgb(78, 142, 39)
HSLhsl(97, 57%, 35%)
HSVhsv(97, 73%, 56%)
CMYKcmyk(45.1%, 0%, 72.5%, 44.3%)
CIE-LABlab(53.07, -38.92, 46.07)
CIE-LCHlch(53.07, 60.30, 130.19°)
OKLaboklab(58.24% -0.1082 0.1043)
OKLCHoklch(58.24% 0.15 136.1)
XYZxyz(13.1808, 21.1114, 5.2994)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E27 #67278E
analogous
#818E27 #4E8E27 #278E34
triadic
#4E8E27 #274E8E #8E274E
tetradic
#4E8E27 #27818E #67278E #8E3427
square
#4E8E27 #27818E #67278E #8E3427
split-complementary
#4E8E27 #34278E #8E2781
monochromatic
#192E0D #345E1A #4E8E27 #68BE34 #89D25D

Accessibility & contrast

On white

4.02
#4E8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E27
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E27#FFFFFF#000000##000000
##4E8E271.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938216
Deuteranopia (green-blind)
#8A7D31
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e27;
/* rgb */ color: rgb(78, 142, 39);
/* oklch */ color: oklch(58.2% 0.150 136.1);
Tailwind
colors: {
  custom: {
    50: '#85af68',
    500: '#4e8e27',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e27;
$custom-light: #85af68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e27",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 97.282,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58242,
    "c": 0.15029,
    "h": 136.1
  },
  "luminance": 0.21112
}

Semantic roles & 50–950 ramp

primary
#4E8E27
secondary
#9459B8
accent
#48E0A6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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