#4E7D2C#4E7D2C

#4E7D2C is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.123 H 134.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4E7D2C
RGBrgb(78, 125, 44)
HSLhsl(95, 48%, 33%)
HSVhsv(95, 65%, 49%)
CMYKcmyk(37.6%, 0%, 64.8%, 51%)
CIE-LABlab(47.58, -30.92, 38.08)
CIE-LCHlch(47.58, 49.05, 129.08°)
OKLaboklab(53.77% -0.0861 0.0881)
OKLCHoklch(53.77% 0.123 134.3)
XYZxyz(10.9299, 16.4683, 4.9852)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D2C #5B2C7D
analogous
#767D2C #4E7D2C #2C7D32
triadic
#4E7D2C #2C4E7D #7D2C4E
tetradic
#4E7D2C #2C767D #5B2C7D #7D322C
square
#4E7D2C #2C767D #5B2C7D #7D322C
split-complementary
#4E7D2C #322C7D #7D2C76
monochromatic
#16220C #32501C #4E7D2C #6AAA3C #89C65D

Accessibility & contrast

On white

4.89
#4E7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4E7D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D2C
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D2C#FFFFFF#000000##FFFFFF
##4E7D2C1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827322
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#4E786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d2c;
/* rgb */ color: rgb(78, 125, 44);
/* oklch */ color: oklch(53.8% 0.123 134.3);
Tailwind
colors: {
  custom: {
    50: '#83a369',
    500: '#4e7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d2c;
$custom-light: #83a369;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d2c",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 94.815,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53766,
    "c": 0.1232,
    "h": 134.3
  },
  "luminance": 0.16469
}

Semantic roles & 50–950 ramp

primary
#4E7D2C
secondary
#8959AC
accent
#50D89F
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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