#4E6822#4E6822

#4E6822 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.101 H 127.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4E6822
RGBrgb(78, 104, 34)
HSLhsl(82, 51%, 27%)
HSVhsv(82, 67%, 41%)
CMYKcmyk(25%, 0%, 67.3%, 59.2%)
CIE-LABlab(40.63, -21.55, 35.17)
CIE-LCHlch(40.63, 41.25, 121.50°)
OKLaboklab(48.08% -0.0613 0.0807)
OKLCHoklch(48.08% 0.101 127.2)
XYZxyz(8.3809, 11.6357, 3.3174)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6822 #3C2268
analogous
#685F22 #4E6822 #2B6822
triadic
#4E6822 #224E68 #68224E
tetradic
#4E6822 #22685F #3C2268 #68222B
square
#4E6822 #22685F #3C2268 #68222B
split-complementary
#4E6822 #222B68 #5F2268
monochromatic
#111708 #2B3A13 #4E6822 #719631 #92C243

Accessibility & contrast

On white

6.31
#4E6822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E6822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6822
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6822#FFFFFF#000000##FFFFFF
##4E68221.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6119
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#516359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6822;
/* rgb */ color: rgb(78, 104, 34);
/* oklch */ color: oklch(48.1% 0.101 127.2);
Tailwind
colors: {
  custom: {
    50: '#829361',
    500: '#4e6822',
    950: '#000000',
  },
}
SCSS
$custom: #4e6822;
$custom-light: #829361;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6822",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 82.286,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.10131,
    "h": 127.2
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#4E6822
secondary
#684A9C
accent
#4EDA82
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6822

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

Preview Lab → · Contrast checker → · Palette generator →

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