#4E7C2A#4E7C2A

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

Color values

HEX#4E7C2A
RGBrgb(78, 124, 42)
HSLhsl(94, 49%, 33%)
HSVhsv(94, 66%, 49%)
CMYKcmyk(37.1%, 0%, 66.1%, 51.4%)
CIE-LABlab(47.24, -30.65, 38.63)
CIE-LCHlch(47.24, 49.31, 128.43°)
OKLaboklab(53.48% -0.0855 0.089)
OKLCHoklch(53.48% 0.123 133.8)
XYZxyz(10.7673, 16.2017, 4.7500)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C2A #582A7C
analogous
#777C2A #4E7C2A #2A7C2F
triadic
#4E7C2A #2A4E7C #7C2A4E
tetradic
#4E7C2A #2A777C #582A7C #7C2F2A
square
#4E7C2A #2A777C #582A7C #7C2F2A
split-complementary
#4E7C2A #2F2A7C #7C2A77
monochromatic
#14210B #314E1B #4E7C2A #6BAA39 #8AC759

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4e7c2a;
/* rgb */ color: rgb(78, 124, 42);
/* oklch */ color: oklch(53.5% 0.123 133.8);
Tailwind
colors: {
  custom: {
    50: '#83a267',
    500: '#4e7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c2a;
$custom-light: #83a267;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c2a",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 93.659,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.12345,
    "h": 133.8
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#4E7C2A
secondary
#8655AD
accent
#4FD99C
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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