#4E6A1C#4E6A1C

#4E6A1C is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.6% C 0.109 H 127.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4E6A1C
RGBrgb(78, 106, 28)
HSLhsl(82, 58%, 26%)
HSVhsv(82, 74%, 42%)
CMYKcmyk(26.4%, 0%, 73.6%, 58.4%)
CIE-LABlab(41.23, -23.06, 38.48)
CIE-LCHlch(41.23, 44.86, 120.93°)
OKLaboklab(48.56% -0.066 0.0867)
OKLCHoklch(48.56% 0.109 127.3)
XYZxyz(8.5055, 12.0114, 2.9687)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A1C #381C6A
analogous
#6A5F1C #4E6A1C #276A1C
triadic
#4E6A1C #1C4E6A #6A1C4E
tetradic
#4E6A1C #1C6A5F #381C6A #6A1C27
square
#4E6A1C #1C6A5F #381C6A #6A1C27
split-complementary
#4E6A1C #1C276A #5F1C6A
monochromatic
#121806 #2A3A0F #4E6A1C #729A29 #95CA36

Accessibility & contrast

On white

6.17
#4E6A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6A1C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A1C#FFFFFF#000000##FFFFFF
##4E6A1C1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706210
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#51655B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6a1c;
/* rgb */ color: rgb(78, 106, 28);
/* oklch */ color: oklch(48.6% 0.109 127.3);
Tailwind
colors: {
  custom: {
    50: '#82945d',
    500: '#4e6a1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a1c;
$custom-light: #82945d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a1c",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 81.538,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48557,
    "c": 0.10897,
    "h": 127.3
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#4E6A1C
secondary
#64439F
accent
#46E17E
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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