#4E6814#4E6814

#4E6814 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.112 H 125.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4E6814
RGBrgb(78, 104, 20)
HSLhsl(79, 68%, 24%)
HSVhsv(79, 81%, 41%)
CMYKcmyk(25%, 0%, 80.8%, 59.2%)
CIE-LABlab(40.53, -22.54, 40.90)
CIE-LCHlch(40.53, 46.70, 118.86°)
OKLaboklab(47.97% -0.0653 0.0904)
OKLCHoklch(47.97% 0.112 125.8)
XYZxyz(8.2185, 11.5707, 2.4621)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6814 #2E1468
analogous
#685814 #4E6814 #246814
triadic
#4E6814 #144E68 #68144E
tetradic
#4E6814 #146858 #2E1468 #681424
square
#4E6814 #146858 #2E1468 #681424
split-complementary
#4E6814 #142468 #581468
monochromatic
#131A05 #28350A #4E6814 #749B1E #9BCF28

Accessibility & contrast

On white

6.34
#4E6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6814
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6814#FFFFFF#000000##FFFFFF
##4E68141.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6101
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#526358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6814;
/* rgb */ color: rgb(78, 104, 20);
/* oklch */ color: oklch(48.0% 0.112 125.8);
Tailwind
colors: {
  custom: {
    50: '#839359',
    500: '#4e6814',
    950: '#000000',
  },
}
SCSS
$custom: #4e6814;
$custom-light: #839359;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6814",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 78.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.11153,
    "h": 125.8
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#4E6814
secondary
#58399F
accent
#3DEB73
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6814

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

Preview Lab → · Contrast checker → · Palette generator →

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