#4E6A1A#4E6A1A

#4E6A1A is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.110 H 127.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4E6A1A
RGBrgb(78, 106, 26)
HSLhsl(81, 61%, 26%)
HSVhsv(81, 75%, 42%)
CMYKcmyk(26.4%, 0%, 75.5%, 58.4%)
CIE-LABlab(41.22, -23.20, 39.29)
CIE-LCHlch(41.22, 45.63, 120.55°)
OKLaboklab(48.54% -0.0666 0.0881)
OKLCHoklch(48.54% 0.11 127.1)
XYZxyz(8.4824, 12.0022, 2.8468)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A1A #361A6A
analogous
#6A5E1A #4E6A1A #266A1A
triadic
#4E6A1A #1A4E6A #6A1A4E
tetradic
#4E6A1A #1A6A5E #361A6A #6A1A26
square
#4E6A1A #1A6A5E #361A6A #6A1A26
split-complementary
#4E6A1A #1A266A #5E1A6A
monochromatic
#121906 #2A390E #4E6A1A #729B26 #96CC32

Accessibility & contrast

On white

6.18
#4E6A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E6A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6A1A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A1A#FFFFFF#000000##FFFFFF
##4E6A1A1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70620C
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#51655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6a1a;
/* rgb */ color: rgb(78, 106, 26);
/* oklch */ color: oklch(48.5% 0.110 127.1);
Tailwind
colors: {
  custom: {
    50: '#82945c',
    500: '#4e6a1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a1a;
$custom-light: #82945c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a1a",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 81,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.1104,
    "h": 127.1
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#4E6A1A
secondary
#62409F
accent
#44E47C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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