#4E6818#4E6818

#4E6818 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.109 H 126.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4E6818
RGBrgb(78, 104, 24)
HSLhsl(80, 63%, 25%)
HSVhsv(80, 77%, 41%)
CMYKcmyk(25%, 0%, 76.9%, 59.2%)
CIE-LABlab(40.55, -22.31, 39.43)
CIE-LCHlch(40.55, 45.30, 119.50°)
OKLaboklab(47.99% -0.0643 0.088)
OKLCHoklch(47.99% 0.109 126.1)
XYZxyz(8.2571, 11.5861, 2.6653)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6818 #321868
analogous
#685A18 #4E6818 #266818
triadic
#4E6818 #184E68 #68184E
tetradic
#4E6818 #18685A #321868 #681826
square
#4E6818 #18685A #321868 #681826
split-complementary
#4E6818 #182668 #5A1868
monochromatic
#131906 #29360D #4E6818 #739A23 #99CB2F

Accessibility & contrast

On white

6.33
#4E6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6818
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6818#FFFFFF#000000##FFFFFF
##4E68181.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6109
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#526359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6818;
/* rgb */ color: rgb(78, 104, 24);
/* oklch */ color: oklch(48.0% 0.109 126.1);
Tailwind
colors: {
  custom: {
    50: '#82935b',
    500: '#4e6818',
    950: '#000000',
  },
}
SCSS
$custom: #4e6818;
$custom-light: #82935b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6818",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 79.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47993,
    "c": 0.10902,
    "h": 126.1
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#4E6818
secondary
#5D3E9E
accent
#42E677
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6818

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

Preview Lab → · Contrast checker → · Palette generator →

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