#4E6C28#4E6C28

#4E6C28 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.2% C 0.102 H 129.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4E6C28
RGBrgb(78, 108, 40)
HSLhsl(86, 46%, 29%)
HSVhsv(86, 63%, 42%)
CMYKcmyk(27.8%, 0%, 63%, 57.6%)
CIE-LABlab(42.00, -23.04, 33.78)
CIE-LCHlch(42.00, 40.89, 124.30°)
OKLaboklab(49.21% -0.0648 0.0785)
OKLCHoklch(49.21% 0.102 129.5)
XYZxyz(8.8874, 12.4978, 3.9511)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6C28 #46286C
analogous
#6C6828 #4E6C28 #2C6C28
triadic
#4E6C28 #284E6C #6C284E
tetradic
#4E6C28 #286C68 #46286C #6C282C
square
#4E6C28 #286C68 #46286C #6C282C
split-complementary
#4E6C28 #282C6C #68286C
monochromatic
#101608 #2E3F17 #4E6C28 #6E9939 #8EBE50

Accessibility & contrast

On white

6.00
#4E6C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E6C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6C28
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6C28#FFFFFF#000000##FFFFFF
##4E6C281.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716420
Deuteranopia (green-blind)
#6D622D
Tritanopia (blue-blind)
#50675D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e6c28;
/* rgb */ color: rgb(78, 108, 40);
/* oklch */ color: oklch(49.2% 0.102 129.5);
Tailwind
colors: {
  custom: {
    50: '#829665',
    500: '#4e6c28',
    950: '#000000',
  },
}
SCSS
$custom: #4e6c28;
$custom-light: #829665;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6c28",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 40
  },
  "hsl": {
    "h": 86.471,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.1018,
    "h": 129.5
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

primary
#4E6C28
secondary
#73519E
accent
#52D68C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6C28

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

Preview Lab → · Contrast checker → · Palette generator →

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