#4E6827#4E6827

#4E6827 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.097 H 128.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4E6827
RGBrgb(78, 104, 39)
HSLhsl(84, 45%, 28%)
HSVhsv(84, 63%, 41%)
CMYKcmyk(25%, 0%, 62.5%, 59.2%)
CIE-LABlab(40.68, -21.09, 32.80)
CIE-LCHlch(40.68, 38.99, 122.74°)
OKLaboklab(48.14% -0.0595 0.0763)
OKLCHoklch(48.14% 0.097 128)
XYZxyz(8.4584, 11.6667, 3.7253)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6827 #412768
analogous
#686127 #4E6827 #2D6827
triadic
#4E6827 #274E68 #68274E
tetradic
#4E6827 #276861 #412768 #68272D
square
#4E6827 #276861 #412768 #68272D
split-complementary
#4E6827 #272D68 #612768
monochromatic
#111608 #2D3B16 #4E6827 #6F9538 #90BC4D

Accessibility & contrast

On white

6.30
#4E6827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E6827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6827
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6827#FFFFFF#000000##FFFFFF
##4E68271.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6120
Deuteranopia (green-blind)
#695F2C
Tritanopia (blue-blind)
#51635A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6827;
/* rgb */ color: rgb(78, 104, 39);
/* oklch */ color: oklch(48.1% 0.097 128.0);
Tailwind
colors: {
  custom: {
    50: '#829364',
    500: '#4e6827',
    950: '#000000',
  },
}
SCSS
$custom: #4e6827;
$custom-light: #829364;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6827",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 84,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48141,
    "c": 0.09675,
    "h": 128
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#4E6827
secondary
#6E509B
accent
#53D587
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D05
muted
#7C7E7A

Preview Lab

Preview with #4E6827

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

Preview Lab → · Contrast checker → · Palette generator →

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