#4E8A27#4E8A27

#4E8A27 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.2% C 0.145 H 135.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E8A27
RGBrgb(78, 138, 39)
HSLhsl(96, 56%, 35%)
HSVhsv(96, 72%, 54%)
CMYKcmyk(43.5%, 0%, 71.7%, 45.9%)
CIE-LABlab(51.77, -37.20, 44.73)
CIE-LCHlch(51.77, 58.18, 129.75°)
OKLaboklab(57.18% -0.1036 0.1015)
OKLCHoklch(57.18% 0.145 135.6)
XYZxyz(12.5963, 19.9424, 5.1046)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A27 #63278A
analogous
#7F8A27 #4E8A27 #278A32
triadic
#4E8A27 #274E8A #8A274E
tetradic
#4E8A27 #277F8A #63278A #8A3227
square
#4E8A27 #277F8A #63278A #8A3227
split-complementary
#4E8A27 #32278A #8A277F
monochromatic
#182B0C #335A1A #4E8A27 #69BA34 #89D15B

Accessibility & contrast

On white

4.21
#4E8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A27
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A27#FFFFFF#000000##000000
##4E8A271.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F17
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#4C8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a27;
/* rgb */ color: rgb(78, 138, 39);
/* oklch */ color: oklch(57.2% 0.145 135.6);
Tailwind
colors: {
  custom: {
    50: '#85ac67',
    500: '#4e8a27',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a27;
$custom-light: #85ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a27",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 96.364,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57177,
    "c": 0.14501,
    "h": 135.6
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#4E8A27
secondary
#9057B6
accent
#49DFA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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