#4E6A12#4E6A12

#4E6A12 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.115 H 126.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4E6A12
RGBrgb(78, 106, 18)
HSLhsl(79, 71%, 24%)
HSVhsv(79, 83%, 42%)
CMYKcmyk(26.4%, 0%, 83%, 58.4%)
CIE-LABlab(41.17, -23.66, 42.18)
CIE-LCHlch(41.17, 48.37, 119.29°)
OKLaboklab(48.49% -0.0685 0.0928)
OKLCHoklch(48.49% 0.115 126.5)
XYZxyz(8.4051, 11.9713, 2.4400)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A12 #2E126A
analogous
#6A5A12 #4E6A12 #226A12
triadic
#4E6A12 #124E6A #6A124E
tetradic
#4E6A12 #126A5A #2E126A #6A1222
square
#4E6A12 #126A5A #2E126A #6A1222
split-complementary
#4E6A12 #12226A #5A126A
monochromatic
#131A04 #283609 #4E6A12 #749E1B #9BD324

Accessibility & contrast

On white

6.19
#4E6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4E6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6A12
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A12#FFFFFF#000000##FFFFFF
##4E6A121.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6C611B
Tritanopia (blue-blind)
#52655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6a12;
/* rgb */ color: rgb(78, 106, 18);
/* oklch */ color: oklch(48.5% 0.115 126.5);
Tailwind
colors: {
  custom: {
    50: '#839459',
    500: '#4e6a12',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a12;
$custom-light: #839459;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a12",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 79.091,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.11531,
    "h": 126.5
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#4E6A12
secondary
#5836A2
accent
#3AEE73
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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