#4E6811#4E6811

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

Color values

HEX#4E6811
RGBrgb(78, 104, 17)
HSLhsl(78, 72%, 24%)
HSVhsv(78, 84%, 41%)
CMYKcmyk(25%, 0%, 83.7%, 59.2%)
CIE-LABlab(40.51, -22.70, 41.90)
CIE-LCHlch(40.51, 47.66, 118.45°)
OKLaboklab(47.95% -0.066 0.092)
OKLCHoklch(47.95% 0.113 125.6)
XYZxyz(8.1934, 11.5607, 2.3300)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6811 #2B1168
analogous
#685611 #4E6811 #226811
triadic
#4E6811 #114E68 #68114E
tetradic
#4E6811 #116856 #2B1168 #681122
square
#4E6811 #116856 #2B1168 #681122
split-complementary
#4E6811 #112268 #561168
monochromatic
#141A04 #273308 #4E6811 #759D1A #9DD122

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6811#FFFFFF#000000##FFFFFF
##4E68111.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: #4e6811;
/* rgb */ color: rgb(78, 104, 17);
/* oklch */ color: oklch(47.9% 0.113 125.6);
Tailwind
colors: {
  custom: {
    50: '#839358',
    500: '#4e6811',
    950: '#000000',
  },
}
SCSS
$custom: #4e6811;
$custom-light: #839358;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6811",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 77.931,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.1132,
    "h": 125.6
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#4E6811
secondary
#5535A0
accent
#39EF6F
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6811

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

Preview Lab → · Contrast checker → · Palette generator →

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