#4E6820#4E6820

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

Color values

HEX#4E6820
RGBrgb(78, 104, 32)
HSLhsl(82, 53%, 27%)
HSVhsv(82, 69%, 41%)
CMYKcmyk(25%, 0%, 69.2%, 59.2%)
CIE-LABlab(40.61, -21.72, 36.08)
CIE-LCHlch(40.61, 42.12, 121.05°)
OKLaboklab(48.06% -0.0619 0.0823)
OKLCHoklch(48.06% 0.103 127)
XYZxyz(8.3529, 11.6245, 3.1699)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6820 #3A2068
analogous
#685E20 #4E6820 #2A6820
triadic
#4E6820 #204E68 #68204E
tetradic
#4E6820 #20685E #3A2068 #68202A
square
#4E6820 #20685E #3A2068 #68202A
split-complementary
#4E6820 #202A68 #5E2068
monochromatic
#121707 #2B3912 #4E6820 #71972E #94C43F

Accessibility & contrast

On white

6.32
#4E6820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6820
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6820#FFFFFF#000000##FFFFFF
##4E68201.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e6820;
/* rgb */ color: rgb(78, 104, 32);
/* oklch */ color: oklch(48.1% 0.103 127.0);
Tailwind
colors: {
  custom: {
    50: '#829360',
    500: '#4e6820',
    950: '#000000',
  },
}
SCSS
$custom: #4e6820;
$custom-light: #829360;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6820",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 81.667,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48064,
    "c": 0.103,
    "h": 127
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#4E6820
secondary
#66489C
accent
#4BDC80
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6820

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

Preview Lab → · Contrast checker → · Palette generator →

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