#4E6C1A#4E6C1A

#4E6C1A is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.113 H 127.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4E6C1A
RGBrgb(78, 108, 26)
HSLhsl(82, 61%, 26%)
HSVhsv(82, 76%, 42%)
CMYKcmyk(27.8%, 0%, 75.9%, 57.6%)
CIE-LABlab(41.87, -24.20, 39.94)
CIE-LCHlch(41.87, 46.70, 121.21°)
OKLaboklab(49.07% -0.0693 0.0895)
OKLCHoklch(49.07% 0.113 127.8)
XYZxyz(8.6909, 12.4192, 2.9163)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6C1A #381A6C
analogous
#6C611A #4E6C1A #256C1A
triadic
#4E6C1A #1A4E6C #6C1A4E
tetradic
#4E6C1A #1A6C61 #381A6C #6C1A25
square
#4E6C1A #1A6C61 #381A6C #6C1A25
split-complementary
#4E6C1A #1A256C #611A6C
monochromatic
#121906 #2A3B0E #4E6C1A #729D26 #95CE33

Accessibility & contrast

On white

6.03
#4E6C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4E6C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6C1A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6C1A#FFFFFF#000000##FFFFFF
##4E6C1A1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640B
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#51675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e6c1a;
/* rgb */ color: rgb(78, 108, 26);
/* oklch */ color: oklch(49.1% 0.113 127.8);
Tailwind
colors: {
  custom: {
    50: '#83965d',
    500: '#4e6c1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e6c1a;
$custom-light: #83965d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6c1a",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 81.951,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.11316,
    "h": 127.8
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#4E6C1A
secondary
#6441A1
accent
#43E47E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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