#4E6540#4E6540

#4E6540 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.8% C 0.063 H 134.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4E6540
RGBrgb(78, 101, 64)
HSLhsl(97, 22%, 32%)
HSVhsv(97, 37%, 40%)
CMYKcmyk(22.8%, 0%, 36.6%, 60.4%)
CIE-LABlab(40.08, -16.19, 18.24)
CIE-LCHlch(40.08, 24.39, 131.60°)
OKLaboklab(47.77% -0.0442 0.0454)
OKLCHoklch(47.77% 0.063 134.2)
XYZxyz(8.7208, 11.2970, 6.5706)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6540 #574065
analogous
#616540 #4E6540 #406545
triadic
#4E6540 #404E65 #65404E
tetradic
#4E6540 #406165 #574065 #654540
square
#4E6540 #406165 #574065 #654540
split-complementary
#4E6540 #454065 #654061
monochromatic
#141A11 #314028 #4E6540 #6B8A58 #8AA977

Accessibility & contrast

On white

6.44
#4E6540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6540
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6540#FFFFFF#000000##FFFFFF
##4E65401.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#645E42
Tritanopia (blue-blind)
#4E625C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6540;
/* rgb */ color: rgb(78, 101, 64);
/* oklch */ color: oklch(47.8% 0.063 134.2);
Tailwind
colors: {
  custom: {
    50: '#809175',
    500: '#4e6540',
    950: '#000000',
  },
}
SCSS
$custom: #4e6540;
$custom-light: #809175;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6540",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 97.297,
    "s": 22.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.06336,
    "h": 134.2
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#4E6540
secondary
#856D94
accent
#69BF9E
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #4E6540

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

Preview Lab → · Contrast checker → · Palette generator →

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