#4E7C2B#4E7C2B

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

Color values

HEX#4E7C2B
RGBrgb(78, 124, 43)
HSLhsl(94, 49%, 33%)
HSVhsv(94, 65%, 49%)
CMYKcmyk(37.1%, 0%, 65.3%, 51.4%)
CIE-LABlab(47.25, -30.55, 38.17)
CIE-LCHlch(47.25, 48.89, 128.67°)
OKLaboklab(53.49% -0.0852 0.0882)
OKLCHoklch(53.49% 0.123 134)
XYZxyz(10.7854, 16.2090, 4.8454)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C2B #592B7C
analogous
#767C2B #4E7C2B #2B7C30
triadic
#4E7C2B #2B4E7C #7C2B4E
tetradic
#4E7C2B #2B767C #592B7C #7C302B
square
#4E7C2B #2B767C #592B7C #7C302B
split-complementary
#4E7C2B #302B7C #7C2B76
monochromatic
#15210B #314F1B #4E7C2B #6BA93B #89C65B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7C2B#FFFFFF#000000##FFFFFF
##4E7C2B1.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)
#817221
Deuteranopia (green-blind)
#7A6F31
Tritanopia (blue-blind)
#4E776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c2b;
/* rgb */ color: rgb(78, 124, 43);
/* oklch */ color: oklch(53.5% 0.123 134.0);
Tailwind
colors: {
  custom: {
    50: '#83a268',
    500: '#4e7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c2b;
$custom-light: #83a268;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c2b",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 94.074,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.12261,
    "h": 134
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

primary
#4E7C2B
secondary
#8757AC
accent
#50D89D
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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