#4E6810#4E6810

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

Color values

HEX#4E6810
RGBrgb(78, 104, 16)
HSLhsl(78, 73%, 24%)
HSVhsv(78, 85%, 41%)
CMYKcmyk(25%, 0%, 84.6%, 59.2%)
CIE-LABlab(40.50, -22.75, 42.22)
CIE-LCHlch(40.50, 47.95, 118.32°)
OKLaboklab(47.94% -0.0662 0.0925)
OKLCHoklch(47.94% 0.114 125.6)
XYZxyz(8.1858, 11.5576, 2.2897)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6810 #2A1068
analogous
#685610 #4E6810 #226810
triadic
#4E6810 #104E68 #68104E
tetradic
#4E6810 #106856 #2A1068 #681022
square
#4E6810 #106856 #2A1068 #681022
split-complementary
#4E6810 #102268 #561068
monochromatic
#141B04 #263308 #4E6810 #769D18 #9ED220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6810#FFFFFF#000000##FFFFFF
##4E68101.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)
#6E6000
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#526358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e6810;
/* rgb */ color: rgb(78, 104, 16);
/* oklch */ color: oklch(47.9% 0.114 125.6);
Tailwind
colors: {
  custom: {
    50: '#839357',
    500: '#4e6810',
    950: '#000000',
  },
}
SCSS
$custom: #4e6810;
$custom-light: #839357;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6810",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 77.727,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47941,
    "c": 0.11371,
    "h": 125.6
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#4E6810
secondary
#5434A0
accent
#38F06E
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6810

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

Preview Lab → · Contrast checker → · Palette generator →

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