#4E6D20#4E6D20

#4E6D20 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.4% C 0.110 H 128.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4E6D20
RGBrgb(78, 109, 32)
HSLhsl(84, 55%, 28%)
HSVhsv(84, 71%, 43%)
CMYKcmyk(28.4%, 0%, 70.6%, 57.3%)
CIE-LABlab(42.25, -24.27, 37.80)
CIE-LCHlch(42.25, 44.92, 122.70°)
OKLaboklab(49.39% -0.0689 0.0859)
OKLCHoklch(49.39% 0.11 128.7)
XYZxyz(8.8712, 12.6611, 3.3427)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6D20 #3F206D
analogous
#6D6620 #4E6D20 #276D20
triadic
#4E6D20 #204E6D #6D204E
tetradic
#4E6D20 #206D66 #3F206D #6D2027
square
#4E6D20 #206D66 #3F206D #6D2027
split-complementary
#4E6D20 #20276D #66206D
monochromatic
#111807 #2C3E12 #4E6D20 #709C2E #91C740

Accessibility & contrast

On white

5.95
#4E6D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4E6D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6D20
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6D20#FFFFFF#000000##FFFFFF
##4E6D201.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#51685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6d20;
/* rgb */ color: rgb(78, 109, 32);
/* oklch */ color: oklch(49.4% 0.110 128.7);
Tailwind
colors: {
  custom: {
    50: '#829760',
    500: '#4e6d20',
    950: '#000000',
  },
}
SCSS
$custom: #4e6d20;
$custom-light: #829760;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6d20",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 84.156,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4939,
    "c": 0.11015,
    "h": 128.7
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#4E6D20
secondary
#6C48A1
accent
#4ADE85
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6D20

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

Preview Lab → · Contrast checker → · Palette generator →

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