#4E6428#4E6428

#4E6428 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.1% C 0.090 H 126.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4E6428
RGBrgb(78, 100, 40)
HSLhsl(82, 43%, 27%)
HSVhsv(82, 60%, 39%)
CMYKcmyk(22%, 0%, 60%, 60.8%)
CIE-LABlab(39.39, -18.88, 30.82)
CIE-LCHlch(39.39, 36.14, 121.49°)
OKLaboklab(47.1% -0.0533 0.0722)
OKLCHoklch(47.1% 0.09 126.4)
XYZxyz(8.0821, 10.8871, 3.6827)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6428 #3E2864
analogous
#645C28 #4E6428 #306428
triadic
#4E6428 #284E64 #64284E
tetradic
#4E6428 #28645C #3E2864 #642830
square
#4E6428 #28645C #3E2864 #642830
split-complementary
#4E6428 #283064 #5C2864
monochromatic
#111609 #2C3817 #4E6428 #709039 #91B84E

Accessibility & contrast

On white

6.61
#4E6428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E6428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6428
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6428#FFFFFF#000000##FFFFFF
##4E64281.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#665C2C
Tritanopia (blue-blind)
#516057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6428;
/* rgb */ color: rgb(78, 100, 40);
/* oklch */ color: oklch(47.1% 0.090 126.4);
Tailwind
colors: {
  custom: {
    50: '#819064',
    500: '#4e6428',
    950: '#000000',
  },
}
SCSS
$custom: #4e6428;
$custom-light: #819064;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6428",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 40
  },
  "hsl": {
    "h": 82,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.0897,
    "h": 126.4
  },
  "luminance": 0.10887
}

Semantic roles & 50–950 ramp

primary
#4E6428
secondary
#6B5197
accent
#55D383
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C05
muted
#7C7D7A

Preview Lab

Preview with #4E6428

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

Preview Lab → · Contrast checker → · Palette generator →

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