#4E6940#4E6940

#4E6940 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.8% C 0.070 H 135.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4E6940
RGBrgb(78, 105, 64)
HSLhsl(100, 24%, 33%)
HSVhsv(100, 39%, 41%)
CMYKcmyk(25.7%, 0%, 39%, 58.8%)
CIE-LABlab(41.36, -18.36, 19.93)
CIE-LCHlch(41.36, 27.10, 132.65°)
OKLaboklab(48.81% -0.0502 0.0494)
OKLCHoklch(48.81% 0.07 135.4)
XYZxyz(9.1186, 12.0928, 6.7032)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6940 #5B4069
analogous
#626940 #4E6940 #406946
triadic
#4E6940 #404E69 #69404E
tetradic
#4E6940 #406269 #5B4069 #694640
square
#4E6940 #406269 #5B4069 #694640
split-complementary
#4E6940 #464069 #694062
monochromatic
#161D12 #324329 #4E6940 #6A8F57 #89AC77

Accessibility & contrast

On white

6.14
#4E6940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E6940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6940
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6940#FFFFFF#000000##FFFFFF
##4E69401.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#686142
Tritanopia (blue-blind)
#4E665F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e6940;
/* rgb */ color: rgb(78, 105, 64);
/* oklch */ color: oklch(48.8% 0.070 135.4);
Tailwind
colors: {
  custom: {
    50: '#809475',
    500: '#4e6940',
    950: '#000000',
  },
}
SCSS
$custom: #4e6940;
$custom-light: #809475;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6940",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 99.512,
    "s": 24.26,
    "l": 33.137
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.07041,
    "h": 135.4
  },
  "luminance": 0.12093
}

Semantic roles & 50–950 ramp

primary
#4E6940
secondary
#896D98
accent
#67C1A2
background
#F7F9F7
surface
#EEF1ED
border
#C9CBC8
text
#0A0D08
muted
#7C7E7B

Preview Lab

Preview with #4E6940

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

Preview Lab → · Contrast checker → · Palette generator →

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