#4E7827#4E7827

#4E7827 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.4% C 0.120 H 132.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E7827
RGBrgb(78, 120, 39)
HSLhsl(91, 51%, 31%)
HSVhsv(91, 68%, 47%)
CMYKcmyk(35%, 0%, 67.5%, 52.9%)
CIE-LABlab(45.91, -29.04, 38.55)
CIE-LCHlch(45.91, 48.26, 126.99°)
OKLaboklab(52.38% -0.0814 0.0885)
OKLCHoklch(52.38% 0.12 132.6)
XYZxyz(10.2244, 15.1987, 4.3140)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7827 #512778
analogous
#767827 #4E7827 #277828
triadic
#4E7827 #274E78 #78274E
tetradic
#4E7827 #277678 #512778 #782827
square
#4E7827 #277678 #512778 #782827
split-complementary
#4E7827 #282778 #782776
monochromatic
#121C09 #304A18 #4E7827 #6CA636 #8BC752

Accessibility & contrast

On white

5.20
#4E7827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4E7827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7827
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7827#FFFFFF#000000##FFFFFF
##4E78271.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1D
Deuteranopia (green-blind)
#776C2E
Tritanopia (blue-blind)
#4F7367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7827;
/* rgb */ color: rgb(78, 120, 39);
/* oklch */ color: oklch(52.4% 0.120 132.6);
Tailwind
colors: {
  custom: {
    50: '#839f65',
    500: '#4e7827',
    950: '#000000',
  },
}
SCSS
$custom: #4e7827;
$custom-light: #839f65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7827",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 91.111,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.12021,
    "h": 132.6
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#4E7827
secondary
#7F51AA
accent
#4DDA97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7827

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

Preview Lab → · Contrast checker → · Palette generator →

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