#4E6218#4E6218

#4E6218 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.101 H 123.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4E6218
RGBrgb(78, 98, 24)
HSLhsl(76, 61%, 24%)
HSVhsv(76, 76%, 38%)
CMYKcmyk(20.4%, 0%, 75.5%, 61.6%)
CIE-LABlab(38.59, -19.18, 37.49)
CIE-LCHlch(38.59, 42.11, 117.10°)
OKLaboklab(46.41% -0.0557 0.084)
OKLCHoklch(46.41% 0.101 123.6)
XYZxyz(7.6745, 10.4210, 2.4711)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6218 #2C1862
analogous
#625118 #4E6218 #296218
triadic
#4E6218 #184E62 #62184E
tetradic
#4E6218 #186251 #2C1862 #621829
square
#4E6218 #186251 #2C1862 #621829
split-complementary
#4E6218 #182962 #511862
monochromatic
#141906 #27310C #4E6218 #759324 #9CC430

Accessibility & contrast

On white

6.81
#4E6218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E6218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6218
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6218#FFFFFF#000000##FFFFFF
##4E62181.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0B
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#525D54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6218;
/* rgb */ color: rgb(78, 98, 24);
/* oklch */ color: oklch(46.4% 0.101 123.6);
Tailwind
colors: {
  custom: {
    50: '#828e5a',
    500: '#4e6218',
    950: '#000000',
  },
}
SCSS
$custom: #4e6218;
$custom-light: #828e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6218",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 76.216,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46405,
    "c": 0.10078,
    "h": 123.6
  },
  "luminance": 0.10421
}

Semantic roles & 50–950 ramp

primary
#4E6218
secondary
#563E98
accent
#44E46F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6218

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

Preview Lab → · Contrast checker → · Palette generator →

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