#4E6222#4E6222

#4E6222 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.5% C 0.093 H 124.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4E6222
RGBrgb(78, 98, 34)
HSLhsl(79, 48%, 26%)
HSVhsv(79, 65%, 38%)
CMYKcmyk(20.4%, 0%, 65.3%, 61.6%)
CIE-LABlab(38.67, -18.40, 33.04)
CIE-LCHlch(38.67, 37.82, 119.11°)
OKLaboklab(46.5% -0.0525 0.0762)
OKLCHoklch(46.5% 0.093 124.6)
XYZxyz(7.7983, 10.4705, 3.1232)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6222 #362262
analogous
#625622 #4E6222 #2E6222
triadic
#4E6222 #224E62 #62224E
tetradic
#4E6222 #226256 #362262 #62222E
square
#4E6222 #226256 #362262 #62222E
split-complementary
#4E6222 #222E62 #562262
monochromatic
#121708 #2A3512 #4E6222 #728F32 #96BD42

Accessibility & contrast

On white

6.79
#4E6222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E6222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6222
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6222#FFFFFF#000000##FFFFFF
##4E62221.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C1B
Deuteranopia (green-blind)
#655B27
Tritanopia (blue-blind)
#525D54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6222;
/* rgb */ color: rgb(78, 98, 34);
/* oklch */ color: oklch(46.5% 0.093 124.6);
Tailwind
colors: {
  custom: {
    50: '#818e60',
    500: '#4e6222',
    950: '#000000',
  },
}
SCSS
$custom: #4e6222;
$custom-light: #818e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6222",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 78.75,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46502,
    "c": 0.09253,
    "h": 124.6
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#4E6222
secondary
#624A96
accent
#50D87A
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6222

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

Preview Lab → · Contrast checker → · Palette generator →

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