#4E6611#4E6611

#4E6611 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.4% C 0.111 H 124.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4E6611
RGBrgb(78, 102, 17)
HSLhsl(77, 71%, 23%)
HSVhsv(77, 83%, 40%)
CMYKcmyk(23.5%, 0%, 83.3%, 60%)
CIE-LABlab(39.85, -21.67, 41.30)
CIE-LCHlch(39.85, 46.65, 117.69°)
OKLaboklab(47.42% -0.0632 0.0907)
OKLCHoklch(47.42% 0.111 124.9)
XYZxyz(7.9945, 11.1628, 2.2637)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6611 #291166
analogous
#665311 #4E6611 #236611
triadic
#4E6611 #114E66 #66114E
tetradic
#4E6611 #116653 #291166 #661123
square
#4E6611 #116653 #291166 #661123
split-complementary
#4E6611 #112366 #531166
monochromatic
#141A04 #263208 #4E6611 #769A1A #9ECF22

Accessibility & contrast

On white

6.50
#4E6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4E6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6611
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6611#FFFFFF#000000##FFFFFF
##4E66111.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#526156
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6611;
/* rgb */ color: rgb(78, 102, 17);
/* oklch */ color: oklch(47.4% 0.111 124.9);
Tailwind
colors: {
  custom: {
    50: '#839158',
    500: '#4e6611',
    950: '#000000',
  },
}
SCSS
$custom: #4e6611;
$custom-light: #839158;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6611",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 76.941,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.11055,
    "h": 124.9
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#4E6611
secondary
#52359E
accent
#3AEE6D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6611

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

Preview Lab → · Contrast checker → · Palette generator →

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