#4E6911#4E6911

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

Color values

HEX#4E6911
RGBrgb(78, 105, 17)
HSLhsl(78, 72%, 24%)
HSVhsv(78, 84%, 41%)
CMYKcmyk(25.7%, 0%, 83.8%, 58.8%)
CIE-LABlab(40.84, -23.21, 42.20)
CIE-LCHlch(40.84, 48.16, 118.81°)
OKLaboklab(48.21% -0.0673 0.0926)
OKLCHoklch(48.21% 0.115 126)
XYZxyz(8.2947, 11.7632, 2.3637)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6911 #2C1169
analogous
#695811 #4E6911 #226911
triadic
#4E6911 #114E69 #69114E
tetradic
#4E6911 #116958 #2C1169 #691122
square
#4E6911 #116958 #2C1169 #691122
split-complementary
#4E6911 #112269 #581169
monochromatic
#141A04 #273408 #4E6911 #759E1A #9CD222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6911#FFFFFF#000000##FFFFFF
##4E69111.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)
#6F6100
Deuteranopia (green-blind)
#6B601A
Tritanopia (blue-blind)
#526459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6911;
/* rgb */ color: rgb(78, 105, 17);
/* oklch */ color: oklch(48.2% 0.115 126.0);
Tailwind
colors: {
  custom: {
    50: '#839458',
    500: '#4e6911',
    950: '#000000',
  },
}
SCSS
$custom: #4e6911;
$custom-light: #839458;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6911",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 78.409,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48213,
    "c": 0.11452,
    "h": 126
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#4E6911
secondary
#5635A1
accent
#39EF71
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6911

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

Preview Lab → · Contrast checker → · Palette generator →

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