#4E6D18#4E6D18

#4E6D18 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.116 H 127.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4E6D18
RGBrgb(78, 109, 24)
HSLhsl(82, 64%, 26%)
HSVhsv(82, 78%, 43%)
CMYKcmyk(28.4%, 0%, 78%, 57.3%)
CIE-LABlab(42.19, -24.83, 41.03)
CIE-LCHlch(42.19, 47.96, 121.18°)
OKLaboklab(49.32% -0.0712 0.0914)
OKLCHoklch(49.32% 0.116 127.9)
XYZxyz(8.7754, 12.6227, 2.8381)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6D18 #37186D
analogous
#6D6118 #4E6D18 #236D18
triadic
#4E6D18 #184E6D #6D184E
tetradic
#4E6D18 #186D61 #37186D #6D1823
square
#4E6D18 #186D61 #37186D #6D1823
split-complementary
#4E6D18 #18236D #61186D
monochromatic
#121906 #2A3B0D #4E6D18 #729F23 #96D12E

Accessibility & contrast

On white

5.96
#4E6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4E6D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6D18
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6D18#FFFFFF#000000##FFFFFF
##4E6D181.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#51685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6d18;
/* rgb */ color: rgb(78, 109, 24);
/* oklch */ color: oklch(49.3% 0.116 127.9);
Tailwind
colors: {
  custom: {
    50: '#83975c',
    500: '#4e6d18',
    950: '#000000',
  },
}
SCSS
$custom: #4e6d18;
$custom-light: #83975c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6d18",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 81.882,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49323,
    "c": 0.11584,
    "h": 127.9
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#4E6D18
secondary
#633EA3
accent
#41E77D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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