#4E7C2C#4E7C2C

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

Color values

HEX#4E7C2C
RGBrgb(78, 124, 44)
HSLhsl(95, 48%, 33%)
HSVhsv(95, 65%, 49%)
CMYKcmyk(37.1%, 0%, 64.5%, 51.4%)
CIE-LABlab(47.26, -30.45, 37.72)
CIE-LCHlch(47.26, 48.48, 128.92°)
OKLaboklab(53.5% -0.0848 0.0874)
OKLCHoklch(53.5% 0.122 134.2)
XYZxyz(10.8040, 16.2164, 4.9432)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C2C #5A2C7C
analogous
#767C2C #4E7C2C #2C7C32
triadic
#4E7C2C #2C4E7C #7C2C4E
tetradic
#4E7C2C #2C767C #5A2C7C #7C322C
square
#4E7C2C #2C767C #5A2C7C #7C322C
split-complementary
#4E7C2C #322C7C #7C2C76
monochromatic
#15220C #324F1C #4E7C2C #6AA93C #89C55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7C2C#FFFFFF#000000##FFFFFF
##4E7C2C1.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)
#817223
Deuteranopia (green-blind)
#7A6F32
Tritanopia (blue-blind)
#4E776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c2c;
/* rgb */ color: rgb(78, 124, 44);
/* oklch */ color: oklch(53.5% 0.122 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a269',
    500: '#4e7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c2c;
$custom-light: #83a269;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c2c",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 94.5,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.535,
    "c": 0.12176,
    "h": 134.2
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#4E7C2C
secondary
#8858AC
accent
#51D79E
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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