#4E6C18#4E6C18

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

Color values

HEX#4E6C18
RGBrgb(78, 108, 24)
HSLhsl(81, 64%, 26%)
HSVhsv(81, 78%, 42%)
CMYKcmyk(27.8%, 0%, 77.8%, 57.6%)
CIE-LABlab(41.86, -24.33, 40.71)
CIE-LCHlch(41.86, 47.43, 120.87°)
OKLaboklab(49.06% -0.0698 0.0907)
OKLCHoklch(49.06% 0.114 127.6)
XYZxyz(8.6693, 12.4106, 2.8027)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6C18 #36186C
analogous
#6C6018 #4E6C18 #246C18
triadic
#4E6C18 #184E6C #6C184E
tetradic
#4E6C18 #186C60 #36186C #6C1824
square
#4E6C18 #186C60 #36186C #6C1824
split-complementary
#4E6C18 #18246C #60186C
monochromatic
#121906 #2A3A0D #4E6C18 #729E23 #96D02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6C18#FFFFFF#000000##FFFFFF
##4E6C181.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)
#726407
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#51675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e6c18;
/* rgb */ color: rgb(78, 108, 24);
/* oklch */ color: oklch(49.1% 0.114 127.6);
Tailwind
colors: {
  custom: {
    50: '#83965c',
    500: '#4e6c18',
    950: '#000000',
  },
}
SCSS
$custom: #4e6c18;
$custom-light: #83965c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6c18",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 81.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.11448,
    "h": 127.6
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#4E6C18
secondary
#623EA2
accent
#41E77C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6C18

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

Preview Lab → · Contrast checker → · Palette generator →

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