#4E8B27#4E8B27

#4E8B27 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.146 H 135.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E8B27
RGBrgb(78, 139, 39)
HSLhsl(97, 56%, 35%)
HSVhsv(97, 72%, 55%)
CMYKcmyk(43.9%, 0%, 71.9%, 45.5%)
CIE-LABlab(52.10, -37.63, 45.07)
CIE-LCHlch(52.10, 58.71, 129.86°)
OKLaboklab(57.44% -0.1047 0.1022)
OKLCHoklch(57.44% 0.146 135.7)
XYZxyz(12.7404, 20.2307, 5.1527)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B27 #64278B
analogous
#808B27 #4E8B27 #278B32
triadic
#4E8B27 #274E8B #8B274E
tetradic
#4E8B27 #27808B #64278B #8B3227
square
#4E8B27 #27808B #64278B #8B3227
split-complementary
#4E8B27 #32278B #8B2780
monochromatic
#182B0C #335B1A #4E8B27 #69BB34 #89D15B

Accessibility & contrast

On white

4.16
#4E8B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E8B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B27
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B27#FFFFFF#000000##000000
##4E8B271.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F17
Deuteranopia (green-blind)
#887A30
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b27;
/* rgb */ color: rgb(78, 139, 39);
/* oklch */ color: oklch(57.4% 0.146 135.7);
Tailwind
colors: {
  custom: {
    50: '#85ad67',
    500: '#4e8b27',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b27;
$custom-light: #85ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b27",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 96.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.14633,
    "h": 135.7
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#4E8B27
secondary
#9158B6
accent
#48DFA5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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