#4E6D2F#4E6D2F

#4E6D2F is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.096 H 131.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4E6D2F
RGBrgb(78, 109, 47)
HSLhsl(90, 40%, 31%)
HSVhsv(90, 57%, 43%)
CMYKcmyk(28.4%, 0%, 56.9%, 57.3%)
CIE-LABlab(42.40, -22.80, 30.68)
CIE-LCHlch(42.40, 38.22, 126.62°)
OKLaboklab(49.56% -0.0635 0.0726)
OKLCHoklch(49.56% 0.096 131.2)
XYZxyz(9.1235, 12.7620, 4.6714)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6D2F #4E2F6D
analogous
#6D6D2F #4E6D2F #2F6D2F
triadic
#4E6D2F #2F4E6D #6D2F4E
tetradic
#4E6D2F #2F6D6D #4E2F6D #6D2F2F
square
#4E6D2F #2F6D6D #4E2F6D #6D2F2F
split-complementary
#4E6D2F #2F2F6D #6D2F6D
monochromatic
#11170A #2F421D #4E6D2F #6D9841 #8BB95D

Accessibility & contrast

On white

5.91
#4E6D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4E6D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6D2F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6D2F#FFFFFF#000000##FFFFFF
##4E6D2F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#4F695F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6d2f;
/* rgb */ color: rgb(78, 109, 47);
/* oklch */ color: oklch(49.6% 0.096 131.2);
Tailwind
colors: {
  custom: {
    50: '#819769',
    500: '#4e6d2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e6d2f;
$custom-light: #819769;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6d2f",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 90,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49564,
    "c": 0.09644,
    "h": 131.2
  },
  "luminance": 0.12762
}

Semantic roles & 50–950 ramp

primary
#4E6D2F
secondary
#7C599E
accent
#58D094
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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