#4E7D2B#4E7D2B

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

Color values

HEX#4E7D2B
RGBrgb(78, 125, 43)
HSLhsl(94, 49%, 33%)
HSVhsv(94, 66%, 49%)
CMYKcmyk(37.6%, 0%, 65.6%, 51%)
CIE-LABlab(47.57, -31.02, 38.53)
CIE-LCHlch(47.57, 49.47, 128.83°)
OKLaboklab(53.76% -0.0864 0.089)
OKLCHoklch(53.76% 0.124 134.2)
XYZxyz(10.9113, 16.4609, 4.8874)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D2B #5A2B7D
analogous
#777D2B #4E7D2B #2B7D31
triadic
#4E7D2B #2B4E7D #7D2B4E
tetradic
#4E7D2B #2B777D #5A2B7D #7D312B
square
#4E7D2B #2B777D #5A2B7D #7D312B
split-complementary
#4E7D2B #312B7D #7D2B77
monochromatic
#15220C #324F1B #4E7D2B #6AAB3B #89C75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7D2B#FFFFFF#000000##FFFFFF
##4E7D2B1.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)
#827321
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#4E786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d2b;
/* rgb */ color: rgb(78, 125, 43);
/* oklch */ color: oklch(53.8% 0.124 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a368',
    500: '#4e7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d2b;
$custom-light: #83a368;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d2b",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 94.39,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.12405,
    "h": 134.2
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#4E7D2B
secondary
#8857AD
accent
#4FD89E
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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