#4E6815#4E6815

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

Color values

HEX#4E6815
RGBrgb(78, 104, 21)
HSLhsl(79, 66%, 25%)
HSVhsv(79, 80%, 41%)
CMYKcmyk(25%, 0%, 79.8%, 59.2%)
CIE-LABlab(40.53, -22.49, 40.55)
CIE-LCHlch(40.53, 46.37, 119.01°)
OKLaboklab(47.97% -0.0651 0.0899)
OKLCHoklch(47.97% 0.111 125.9)
XYZxyz(8.2276, 11.5743, 2.5099)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6815 #2F1568
analogous
#685915 #4E6815 #256815
triadic
#4E6815 #154E68 #68154E
tetradic
#4E6815 #156859 #2F1568 #681525
square
#4E6815 #156859 #2F1568 #681525
split-complementary
#4E6815 #152568 #591568
monochromatic
#131905 #28350B #4E6815 #749B1F #9ACE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6815#FFFFFF#000000##FFFFFF
##4E68151.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)
#6E6103
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#526358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6815;
/* rgb */ color: rgb(78, 104, 21);
/* oklch */ color: oklch(48.0% 0.111 125.9);
Tailwind
colors: {
  custom: {
    50: '#83935a',
    500: '#4e6815',
    950: '#000000',
  },
}
SCSS
$custom: #4e6815;
$custom-light: #83935a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6815",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 78.795,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.11094,
    "h": 125.9
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#4E6815
secondary
#5A3A9F
accent
#3EE974
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6815

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

Preview Lab → · Contrast checker → · Palette generator →

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