#4E8D27#4E8D27

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

Color values

HEX#4E8D27
RGBrgb(78, 141, 39)
HSLhsl(97, 57%, 35%)
HSVhsv(97, 72%, 55%)
CMYKcmyk(44.7%, 0%, 72.3%, 44.7%)
CIE-LABlab(52.75, -38.49, 45.73)
CIE-LCHlch(52.75, 59.78, 130.09°)
OKLaboklab(57.98% -0.1071 0.1036)
OKLCHoklch(57.98% 0.149 136)
XYZxyz(13.0326, 20.8152, 5.2501)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D27 #66278D
analogous
#818D27 #4E8D27 #278D33
triadic
#4E8D27 #274E8D #8D274E
tetradic
#4E8D27 #27818D #66278D #8D3327
square
#4E8D27 #27818D #66278D #8D3327
split-complementary
#4E8D27 #33278D #8D2781
monochromatic
#192D0C #335D1A #4E8D27 #69BD34 #89D25C

Accessibility & contrast

On white

4.07
#4E8D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E8D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D27
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D27#FFFFFF#000000##000000
##4E8D271.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d27;
/* rgb */ color: rgb(78, 141, 39);
/* oklch */ color: oklch(58.0% 0.149 136.0);
Tailwind
colors: {
  custom: {
    50: '#85af68',
    500: '#4e8d27',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d27;
$custom-light: #85af68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d27",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 97.059,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57975,
    "c": 0.14898,
    "h": 136
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

primary
#4E8D27
secondary
#9359B7
accent
#48E0A6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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