#4E6628#4E6628

#4E6628 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.093 H 127.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4E6628
RGBrgb(78, 102, 40)
HSLhsl(83, 44%, 28%)
HSVhsv(83, 61%, 40%)
CMYKcmyk(23.5%, 0%, 60.8%, 60%)
CIE-LABlab(40.04, -19.94, 31.57)
CIE-LCHlch(40.04, 37.34, 122.28°)
OKLaboklab(47.63% -0.0562 0.0738)
OKLCHoklch(47.63% 0.093 127.3)
XYZxyz(8.2762, 11.2755, 3.7474)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6628 #402866
analogous
#665F28 #4E6628 #2F6628
triadic
#4E6628 #284E66 #66284E
tetradic
#4E6628 #28665F #402866 #66282F
square
#4E6628 #28665F #402866 #66282F
split-complementary
#4E6628 #282F66 #5F2866
monochromatic
#111609 #2C3A17 #4E6628 #709239 #90BA4F

Accessibility & contrast

On white

6.45
#4E6628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4E6628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6628
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6628#FFFFFF#000000##FFFFFF
##4E66281.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F22
Deuteranopia (green-blind)
#685E2C
Tritanopia (blue-blind)
#516158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6628;
/* rgb */ color: rgb(78, 102, 40);
/* oklch */ color: oklch(47.6% 0.093 127.3);
Tailwind
colors: {
  custom: {
    50: '#819164',
    500: '#4e6628',
    950: '#000000',
  },
}
SCSS
$custom: #4e6628;
$custom-light: #819164;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6628",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 40
  },
  "hsl": {
    "h": 83.226,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47627,
    "c": 0.09274,
    "h": 127.3
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#4E6628
secondary
#6D5199
accent
#54D386
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0D05
muted
#7C7D7A

Preview Lab

Preview with #4E6628

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

Preview Lab → · Contrast checker → · Palette generator →

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