#4E7C2D#4E7C2D

#4E7C2D is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.121 H 134.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4E7C2D
RGBrgb(78, 124, 45)
HSLhsl(95, 47%, 33%)
HSVhsv(95, 64%, 49%)
CMYKcmyk(37.1%, 0%, 63.7%, 51.4%)
CIE-LABlab(47.27, -30.35, 37.25)
CIE-LCHlch(47.27, 48.06, 129.17°)
OKLaboklab(53.51% -0.0845 0.0865)
OKLCHoklch(53.51% 0.121 134.3)
XYZxyz(10.8230, 16.2240, 5.0434)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C2D #5B2D7C
analogous
#757C2D #4E7C2D #2D7C33
triadic
#4E7C2D #2D4E7C #7C2D4E
tetradic
#4E7C2D #2D757C #5B2D7C #7C332D
square
#4E7C2D #2D757C #5B2D7C #7C332D
split-complementary
#4E7C2D #332D7C #7C2D75
monochromatic
#16220C #324F1D #4E7C2D #6AA93D #89C55F

Accessibility & contrast

On white

4.95
#4E7C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4E7C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C2D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C2D#FFFFFF#000000##FFFFFF
##4E7C2D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817224
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#4E776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c2d;
/* rgb */ color: rgb(78, 124, 45);
/* oklch */ color: oklch(53.5% 0.121 134.3);
Tailwind
colors: {
  custom: {
    50: '#83a269',
    500: '#4e7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c2d;
$custom-light: #83a269;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c2d",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 94.937,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.1209,
    "h": 134.3
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#4E7C2D
secondary
#895AAB
accent
#51D69F
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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