#4E6C1B#4E6C1B

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

Color values

HEX#4E6C1B
RGBrgb(78, 108, 27)
HSLhsl(82, 60%, 26%)
HSVhsv(82, 75%, 42%)
CMYKcmyk(27.8%, 0%, 75%, 57.6%)
CIE-LABlab(41.88, -24.14, 39.55)
CIE-LCHlch(41.88, 46.33, 121.39°)
OKLaboklab(49.08% -0.069 0.0888)
OKLCHoklch(49.08% 0.112 127.9)
XYZxyz(8.7023, 12.4238, 2.9762)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6C1B #391B6C
analogous
#6C621B #4E6C1B #266C1B
triadic
#4E6C1B #1B4E6C #6C1B4E
tetradic
#4E6C1B #1B6C62 #391B6C #6C1B26
square
#4E6C1B #1B6C62 #391B6C #6C1B26
split-complementary
#4E6C1B #1B266C #621B6C
monochromatic
#121806 #2B3B0F #4E6C1B #719D27 #94CC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6C1B#FFFFFF#000000##FFFFFF
##4E6C1B1.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)
#72640D
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#51675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e6c1b;
/* rgb */ color: rgb(78, 108, 27);
/* oklch */ color: oklch(49.1% 0.112 127.9);
Tailwind
colors: {
  custom: {
    50: '#82965d',
    500: '#4e6c1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e6c1b;
$custom-light: #82965d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6c1b",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 82.222,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.11247,
    "h": 127.9
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#4E6C1B
secondary
#6542A1
accent
#45E37F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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