#4E6412#4E6412

#4E6412 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.107 H 124.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4E6412
RGBrgb(78, 100, 18)
HSLhsl(76, 69%, 23%)
HSVhsv(76, 82%, 39%)
CMYKcmyk(22%, 0%, 82%, 60.8%)
CIE-LABlab(39.20, -20.59, 40.37)
CIE-LCHlch(39.20, 45.31, 117.02°)
OKLaboklab(46.89% -0.0601 0.0889)
OKLCHoklch(46.89% 0.107 124.1)
XYZxyz(7.8083, 10.7776, 2.2411)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6412 #281264
analogous
#645112 #4E6412 #256412
triadic
#4E6412 #124E64 #64124E
tetradic
#4E6412 #126451 #281264 #641225
square
#4E6412 #126451 #281264 #641225
split-complementary
#4E6412 #122564 #511264
monochromatic
#141A05 #263009 #4E6412 #76981B #9FCC25

Accessibility & contrast

On white

6.65
#4E6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4E6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6412
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6412#FFFFFF#000000##FFFFFF
##4E64121.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#525F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e6412;
/* rgb */ color: rgb(78, 100, 18);
/* oklch */ color: oklch(46.9% 0.107 124.1);
Tailwind
colors: {
  custom: {
    50: '#829058',
    500: '#4e6412',
    950: '#000000',
  },
}
SCSS
$custom: #4e6412;
$custom-light: #829058;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6412",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 76.098,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4689,
    "c": 0.10734,
    "h": 124.1
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#4E6412
secondary
#51369C
accent
#3BEC6B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6412

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

Preview Lab → · Contrast checker → · Palette generator →

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