#4E6618#4E6618

#4E6618 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.106 H 125.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4E6618
RGBrgb(78, 102, 24)
HSLhsl(78, 62%, 25%)
HSVhsv(78, 76%, 40%)
CMYKcmyk(23.5%, 0%, 76.5%, 60%)
CIE-LABlab(39.90, -21.28, 38.79)
CIE-LCHlch(39.90, 44.24, 118.75°)
OKLaboklab(47.46% -0.0615 0.0867)
OKLCHoklch(47.46% 0.106 125.4)
XYZxyz(8.0582, 11.1883, 2.5990)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6618 #301866
analogous
#665718 #4E6618 #276618
triadic
#4E6618 #184E66 #66184E
tetradic
#4E6618 #186657 #301866 #661827
square
#4E6618 #186657 #301866 #661827
split-complementary
#4E6618 #182766 #571866
monochromatic
#131906 #28340C #4E6618 #749824 #9AC92F

Accessibility & contrast

On white

6.49
#4E6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6618
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6618#FFFFFF#000000##FFFFFF
##4E66181.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#526157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6618;
/* rgb */ color: rgb(78, 102, 24);
/* oklch */ color: oklch(47.5% 0.106 125.4);
Tailwind
colors: {
  custom: {
    50: '#82915b',
    500: '#4e6618',
    950: '#000000',
  },
}
SCSS
$custom: #4e6618;
$custom-light: #82915b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6618",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 78.462,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47463,
    "c": 0.10628,
    "h": 125.4
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#4E6618
secondary
#5B3E9C
accent
#43E575
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6618

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

Preview Lab → · Contrast checker → · Palette generator →

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