#4E6819#4E6819

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

Color values

HEX#4E6819
RGBrgb(78, 104, 25)
HSLhsl(80, 61%, 25%)
HSVhsv(80, 76%, 41%)
CMYKcmyk(25%, 0%, 76%, 59.2%)
CIE-LABlab(40.56, -22.24, 39.04)
CIE-LCHlch(40.56, 44.93, 119.67°)
OKLaboklab(48% -0.064 0.0874)
OKLCHoklch(48% 0.108 126.2)
XYZxyz(8.2677, 11.5904, 2.7211)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6819 #331968
analogous
#685A19 #4E6819 #266819
triadic
#4E6819 #194E68 #68194E
tetradic
#4E6819 #19685A #331968 #681926
square
#4E6819 #19685A #331968 #681926
split-complementary
#4E6819 #192668 #5A1968
monochromatic
#131906 #29370D #4E6819 #739925 #98CB31

Accessibility & contrast

On white

6.33
#4E6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E6819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6819
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6819#FFFFFF#000000##FFFFFF
##4E68191.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610B
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#516359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6819;
/* rgb */ color: rgb(78, 104, 25);
/* oklch */ color: oklch(48.0% 0.108 126.2);
Tailwind
colors: {
  custom: {
    50: '#82935c',
    500: '#4e6819',
    950: '#000000',
  },
}
SCSS
$custom: #4e6819;
$custom-light: #82935c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6819",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 79.747,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.10833,
    "h": 126.2
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#4E6819
secondary
#5E3F9E
accent
#43E478
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6819

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

Preview Lab → · Contrast checker → · Palette generator →

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