#4E6127#4E6127

#4E6127 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.3% C 0.086 H 124.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4E6127
RGBrgb(78, 97, 39)
HSLhsl(80, 43%, 27%)
HSVhsv(80, 60%, 38%)
CMYKcmyk(19.6%, 0%, 59.8%, 62%)
CIE-LABlab(38.40, -17.37, 30.21)
CIE-LCHlch(38.40, 34.85, 119.91°)
OKLaboklab(46.3% -0.0492 0.0707)
OKLCHoklch(46.3% 0.086 124.8)
XYZxyz(7.7828, 10.3155, 3.5001)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6127 #3A2761
analogous
#615727 #4E6127 #316127
triadic
#4E6127 #274E61 #61274E
tetradic
#4E6127 #276157 #3A2761 #612731
square
#4E6127 #276157 #3A2761 #612731
split-complementary
#4E6127 #273161 #572761
monochromatic
#121609 #2B3515 #4E6127 #718D39 #94B74C

Accessibility & contrast

On white

6.86
#4E6127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E6127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6127
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6127#FFFFFF#000000##FFFFFF
##4E61271.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B21
Deuteranopia (green-blind)
#645A2B
Tritanopia (blue-blind)
#515D54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e6127;
/* rgb */ color: rgb(78, 97, 39);
/* oklch */ color: oklch(46.3% 0.086 124.8);
Tailwind
colors: {
  custom: {
    50: '#818e63',
    500: '#4e6127',
    950: '#000000',
  },
}
SCSS
$custom: #4e6127;
$custom-light: #818e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6127",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 39
  },
  "hsl": {
    "h": 79.655,
    "s": 42.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.08615,
    "h": 124.8
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#4E6127
secondary
#665094
accent
#55D27E
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C05
muted
#7C7D7A

Preview Lab

Preview with #4E6127

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

Preview Lab → · Contrast checker → · Palette generator →

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