#4E6612#4E6612

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

Color values

HEX#4E6612
RGBrgb(78, 102, 18)
HSLhsl(77, 70%, 24%)
HSVhsv(77, 82%, 40%)
CMYKcmyk(23.5%, 0%, 82.4%, 60%)
CIE-LABlab(39.86, -21.62, 40.98)
CIE-LCHlch(39.86, 46.33, 117.82°)
OKLaboklab(47.42% -0.063 0.0902)
OKLCHoklch(47.42% 0.11 124.9)
XYZxyz(8.0025, 11.1660, 2.3058)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6612 #2A1266
analogous
#665412 #4E6612 #246612
triadic
#4E6612 #124E66 #66124E
tetradic
#4E6612 #126654 #2A1266 #661224
square
#4E6612 #126654 #2A1266 #661224
split-complementary
#4E6612 #122466 #541266
monochromatic
#141A05 #263209 #4E6612 #769A1B #9ECE24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6612#FFFFFF#000000##FFFFFF
##4E66121.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)
#695E1B
Tritanopia (blue-blind)
#526156
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6612;
/* rgb */ color: rgb(78, 102, 18);
/* oklch */ color: oklch(47.4% 0.110 124.9);
Tailwind
colors: {
  custom: {
    50: '#839158',
    500: '#4e6612',
    950: '#000000',
  },
}
SCSS
$custom: #4e6612;
$custom-light: #839158;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6612",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 77.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47421,
    "c": 0.11,
    "h": 124.9
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#4E6612
secondary
#54369E
accent
#3BED6E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6612

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

Preview Lab → · Contrast checker → · Palette generator →

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