#4E6912#4E6912

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

Color values

HEX#4E6912
RGBrgb(78, 105, 18)
HSLhsl(79, 71%, 24%)
HSVhsv(79, 83%, 41%)
CMYKcmyk(25.7%, 0%, 82.9%, 58.8%)
CIE-LABlab(40.84, -23.16, 41.88)
CIE-LCHlch(40.84, 47.86, 118.94°)
OKLaboklab(48.22% -0.0671 0.0921)
OKLCHoklch(48.22% 0.114 126.1)
XYZxyz(8.3027, 11.7664, 2.4059)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6912 #2D1269
analogous
#695912 #4E6912 #226912
triadic
#4E6912 #124E69 #69124E
tetradic
#4E6912 #126959 #2D1269 #691222
square
#4E6912 #126959 #2D1269 #691222
split-complementary
#4E6912 #122269 #591269
monochromatic
#131A04 #273509 #4E6912 #759D1B #9CD124

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6912#FFFFFF#000000##FFFFFF
##4E69121.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)
#6B601B
Tritanopia (blue-blind)
#526459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6912;
/* rgb */ color: rgb(78, 105, 18);
/* oklch */ color: oklch(48.2% 0.114 126.1);
Tailwind
colors: {
  custom: {
    50: '#839458',
    500: '#4e6912',
    950: '#000000',
  },
}
SCSS
$custom: #4e6912;
$custom-light: #839458;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6912",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 78.621,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48218,
    "c": 0.11399,
    "h": 126.1
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#4E6912
secondary
#5736A1
accent
#3AED72
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6912

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

Preview Lab → · Contrast checker → · Palette generator →

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