#4E6C2F#4E6C2F

#4E6C2F is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.095 H 130.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4E6C2F
RGBrgb(78, 108, 47)
HSLhsl(90, 39%, 30%)
HSVhsv(90, 56%, 42%)
CMYKcmyk(27.8%, 0%, 56.5%, 57.6%)
CIE-LABlab(42.08, -22.29, 30.29)
CIE-LCHlch(42.08, 37.61, 126.34°)
OKLaboklab(49.3% -0.0621 0.0717)
OKLCHoklch(49.3% 0.095 130.9)
XYZxyz(9.0174, 12.5498, 4.6360)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6C2F #4D2F6C
analogous
#6C6B2F #4E6C2F #2F6C2F
triadic
#4E6C2F #2F4E6C #6C2F4E
tetradic
#4E6C2F #2F6C6B #4D2F6C #6C2F2F
square
#4E6C2F #2F6C6B #4D2F6C #6C2F2F
split-complementary
#4E6C2F #2F2F6C #6B2F6C
monochromatic
#10170A #2F411C #4E6C2F #6D9742 #8BB85D

Accessibility & contrast

On white

5.98
#4E6C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4E6C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6C2F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6C2F#FFFFFF#000000##FFFFFF
##4E6C2F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#6C6333
Tritanopia (blue-blind)
#4F685E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e6c2f;
/* rgb */ color: rgb(78, 108, 47);
/* oklch */ color: oklch(49.3% 0.095 130.9);
Tailwind
colors: {
  custom: {
    50: '#819669',
    500: '#4e6c2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e6c2f;
$custom-light: #819669;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6c2f",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 47
  },
  "hsl": {
    "h": 89.508,
    "s": 39.355,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49301,
    "c": 0.09488,
    "h": 130.9
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#4E6C2F
secondary
#7B599D
accent
#59CF93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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