#4E6728#4E6728

#4E6728 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.9% C 0.094 H 127.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4E6728
RGBrgb(78, 103, 40)
HSLhsl(84, 44%, 28%)
HSVhsv(84, 61%, 40%)
CMYKcmyk(24.3%, 0%, 61.2%, 59.6%)
CIE-LABlab(40.37, -20.46, 31.94)
CIE-LCHlch(40.37, 37.93, 122.65°)
OKLaboklab(47.89% -0.0577 0.0746)
OKLCHoklch(47.89% 0.094 127.7)
XYZxyz(8.3751, 11.4733, 3.7804)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6728 #412867
analogous
#676028 #4E6728 #2E6728
triadic
#4E6728 #284E67 #67284E
tetradic
#4E6728 #286760 #412867 #67282E
square
#4E6728 #286760 #412867 #67282E
split-complementary
#4E6728 #282E67 #602867
monochromatic
#111609 #2D3B17 #4E6728 #6F9339 #90BB4F

Accessibility & contrast

On white

6.37
#4E6728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4E6728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6728
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6728#FFFFFF#000000##FFFFFF
##4E67281.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6021
Deuteranopia (green-blind)
#695F2C
Tritanopia (blue-blind)
#516259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e6728;
/* rgb */ color: rgb(78, 103, 40);
/* oklch */ color: oklch(47.9% 0.094 127.7);
Tailwind
colors: {
  custom: {
    50: '#819264',
    500: '#4e6728',
    950: '#000000',
  },
}
SCSS
$custom: #4e6728;
$custom-light: #819264;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6728",
  "rgb": {
    "r": 78,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 83.81,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.09426,
    "h": 127.7
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#4E6728
secondary
#6E519A
accent
#54D487
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D05
muted
#7C7E7A

Preview Lab

Preview with #4E6728

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

Preview Lab → · Contrast checker → · Palette generator →

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