#4E6828#4E6828

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

Color values

HEX#4E6828
RGBrgb(78, 104, 40)
HSLhsl(84, 44%, 28%)
HSVhsv(84, 62%, 41%)
CMYKcmyk(25%, 0%, 61.5%, 59.2%)
CIE-LABlab(40.69, -20.99, 32.31)
CIE-LCHlch(40.69, 38.53, 123.00°)
OKLaboklab(48.15% -0.0591 0.0754)
OKLCHoklch(48.15% 0.096 128.1)
XYZxyz(8.4752, 11.6734, 3.8137)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6828 #422868
analogous
#686228 #4E6828 #2E6828
triadic
#4E6828 #284E68 #68284E
tetradic
#4E6828 #286862 #422868 #68282E
square
#4E6828 #286862 #422868 #68282E
split-complementary
#4E6828 #282E68 #622868
monochromatic
#111609 #2D3C17 #4E6828 #6F9439 #8FBB4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6828#FFFFFF#000000##FFFFFF
##4E68281.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)
#6D6121
Deuteranopia (green-blind)
#695F2C
Tritanopia (blue-blind)
#50635A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6828;
/* rgb */ color: rgb(78, 104, 40);
/* oklch */ color: oklch(48.2% 0.096 128.1);
Tailwind
colors: {
  custom: {
    50: '#819364',
    500: '#4e6828',
    950: '#000000',
  },
}
SCSS
$custom: #4e6828;
$custom-light: #819364;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6828",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 84.375,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48153,
    "c": 0.09577,
    "h": 128.1
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#4E6828
secondary
#6F519B
accent
#54D488
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6828

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

Preview Lab → · Contrast checker → · Palette generator →

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