#4E6918#4E6918

#4E6918 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.110 H 126.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4E6918
RGBrgb(78, 105, 24)
HSLhsl(80, 63%, 25%)
HSVhsv(80, 77%, 41%)
CMYKcmyk(25.7%, 0%, 77.1%, 58.8%)
CIE-LABlab(40.88, -22.82, 39.75)
CIE-LCHlch(40.88, 45.83, 119.86°)
OKLaboklab(48.26% -0.0657 0.0887)
OKLCHoklch(48.26% 0.11 126.5)
XYZxyz(8.3584, 11.7887, 2.6991)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6918 #331869
analogous
#695B18 #4E6918 #256918
triadic
#4E6918 #184E69 #69184E
tetradic
#4E6918 #18695B #331869 #691825
square
#4E6918 #18695B #331869 #691825
split-complementary
#4E6918 #182569 #5B1869
monochromatic
#131906 #29370D #4E6918 #739B23 #98CD2F

Accessibility & contrast

On white

6.25
#4E6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6918
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6918#FFFFFF#000000##FFFFFF
##4E69181.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6108
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#516459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6918;
/* rgb */ color: rgb(78, 105, 24);
/* oklch */ color: oklch(48.3% 0.110 126.5);
Tailwind
colors: {
  custom: {
    50: '#82945b',
    500: '#4e6918',
    950: '#000000',
  },
}
SCSS
$custom: #4e6918;
$custom-light: #82945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6918",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 80,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.11039,
    "h": 126.5
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#4E6918
secondary
#5E3E9F
accent
#42E679
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6918

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

Preview Lab → · Contrast checker → · Palette generator →

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