#4E6518#4E6518

#4E6518 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.105 H 124.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4E6518
RGBrgb(78, 101, 24)
HSLhsl(78, 62%, 25%)
HSVhsv(78, 76%, 40%)
CMYKcmyk(22.8%, 0%, 76.2%, 60.4%)
CIE-LABlab(39.57, -20.76, 38.46)
CIE-LCHlch(39.57, 43.71, 118.35°)
OKLaboklab(47.2% -0.0601 0.086)
OKLCHoklch(47.2% 0.105 124.9)
XYZxyz(7.9605, 10.9929, 2.5664)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6518 #2F1865
analogous
#655618 #4E6518 #286518
triadic
#4E6518 #184E65 #65184E
tetradic
#4E6518 #186556 #2F1865 #651828
square
#4E6518 #186556 #2F1865 #651828
split-complementary
#4E6518 #182865 #561865
monochromatic
#131906 #28340C #4E6518 #749624 #9AC830

Accessibility & contrast

On white

6.57
#4E6518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E6518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6518
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6518#FFFFFF#000000##FFFFFF
##4E65181.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#526056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6518;
/* rgb */ color: rgb(78, 101, 24);
/* oklch */ color: oklch(47.2% 0.105 124.9);
Tailwind
colors: {
  custom: {
    50: '#82915b',
    500: '#4e6518',
    950: '#000000',
  },
}
SCSS
$custom: #4e6518;
$custom-light: #82915b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6518",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 24
  },
  "hsl": {
    "h": 77.922,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47198,
    "c": 0.1049,
    "h": 124.9
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#4E6518
secondary
#5A3E9B
accent
#43E573
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6518

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

Preview Lab → · Contrast checker → · Palette generator →

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