#4E6A18#4E6A18

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

Color values

HEX#4E6A18
RGBrgb(78, 106, 24)
HSLhsl(80, 63%, 25%)
HSVhsv(80, 77%, 42%)
CMYKcmyk(26.4%, 0%, 77.4%, 58.4%)
CIE-LABlab(41.21, -23.33, 40.07)
CIE-LCHlch(41.21, 46.37, 120.20°)
OKLaboklab(48.53% -0.0671 0.0894)
OKLCHoklch(48.53% 0.112 126.9)
XYZxyz(8.4608, 11.9936, 2.7332)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A18 #34186A
analogous
#6A5D18 #4E6A18 #256A18
triadic
#4E6A18 #184E6A #6A184E
tetradic
#4E6A18 #186A5D #34186A #6A1825
square
#4E6A18 #186A5D #34186A #6A1825
split-complementary
#4E6A18 #18256A #5D186A
monochromatic
#121906 #29380D #4E6A18 #739C23 #97CE2F

Accessibility & contrast

On white

6.18
#4E6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6A18
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A18#FFFFFF#000000##FFFFFF
##4E6A181.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706208
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#51655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6a18;
/* rgb */ color: rgb(78, 106, 24);
/* oklch */ color: oklch(48.5% 0.112 126.9);
Tailwind
colors: {
  custom: {
    50: '#83945b',
    500: '#4e6a18',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a18;
$custom-light: #83945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a18",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 80.488,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48525,
    "c": 0.11175,
    "h": 126.9
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#4E6A18
secondary
#5F3EA0
accent
#42E67A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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