#4E6914#4E6914

#4E6914 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.113 H 126.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4E6914
RGBrgb(78, 105, 20)
HSLhsl(79, 68%, 25%)
HSVhsv(79, 81%, 41%)
CMYKcmyk(25.7%, 0%, 81%, 58.8%)
CIE-LABlab(40.85, -23.05, 41.21)
CIE-LCHlch(40.85, 47.22, 119.22°)
OKLaboklab(48.23% -0.0667 0.0911)
OKLCHoklch(48.23% 0.113 126.2)
XYZxyz(8.3198, 11.7732, 2.4958)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6914 #2F1469
analogous
#695A14 #4E6914 #246914
triadic
#4E6914 #144E69 #69144E
tetradic
#4E6914 #14695A #2F1469 #691424
square
#4E6914 #14695A #2F1469 #691424
split-complementary
#4E6914 #142469 #5A1469
monochromatic
#131A05 #28360A #4E6914 #749C1E #9AD028

Accessibility & contrast

On white

6.26
#4E6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6914
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6914#FFFFFF#000000##FFFFFF
##4E69141.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6101
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#526459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6914;
/* rgb */ color: rgb(78, 105, 20);
/* oklch */ color: oklch(48.2% 0.113 126.2);
Tailwind
colors: {
  custom: {
    50: '#839459',
    500: '#4e6914',
    950: '#000000',
  },
}
SCSS
$custom: #4e6914;
$custom-light: #839459;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6914",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 79.059,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48231,
    "c": 0.11287,
    "h": 126.2
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#4E6914
secondary
#5A39A0
accent
#3DEB74
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6914

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

Preview Lab → · Contrast checker → · Palette generator →

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