#4E7D2F#4E7D2F

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

Color values

HEX#4E7D2F
RGBrgb(78, 125, 47)
HSLhsl(96, 45%, 34%)
HSVhsv(96, 62%, 49%)
CMYKcmyk(37.6%, 0%, 62.4%, 51%)
CIE-LABlab(47.61, -30.62, 36.69)
CIE-LCHlch(47.61, 47.78, 129.85°)
OKLaboklab(53.8% -0.085 0.0855)
OKLCHoklch(53.8% 0.121 134.8)
XYZxyz(10.9884, 16.4917, 5.2930)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D2F #5E2F7D
analogous
#757D2F #4E7D2F #2F7D37
triadic
#4E7D2F #2F4E7D #7D2F4E
tetradic
#4E7D2F #2F757D #5E2F7D #7D372F
square
#4E7D2F #2F757D #5E2F7D #7D372F
split-complementary
#4E7D2F #372F7D #7D2F75
monochromatic
#16240E #32511E #4E7D2F #6AA940 #89C462

Accessibility & contrast

On white

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

On black

4.30
#4E7D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7D2F#FFFFFF#000000##FFFFFF
##4E7D2F1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827326
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#4D786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d2f;
/* rgb */ color: rgb(78, 125, 47);
/* oklch */ color: oklch(53.8% 0.121 134.8);
Tailwind
colors: {
  custom: {
    50: '#83a36b',
    500: '#4e7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d2f;
$custom-light: #83a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d2f",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 96.154,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.538,
    "c": 0.12058,
    "h": 134.8
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#4E7D2F
secondary
#8C5DAB
accent
#53D5A1
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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