#4E7C1A#4E7C1A

#4E7C1A is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.135 H 132.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4E7C1A
RGBrgb(78, 124, 26)
HSLhsl(88, 65%, 29%)
HSVhsv(88, 79%, 49%)
CMYKcmyk(37.1%, 0%, 79%, 51.4%)
CIE-LABlab(47.12, -31.87, 45.04)
CIE-LCHlch(47.12, 55.18, 125.28°)
OKLaboklab(53.34% -0.0901 0.1001)
OKLCHoklch(53.34% 0.135 132)
XYZxyz(10.5359, 16.1092, 3.5313)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C1A #481A7C
analogous
#7C791A #4E7C1A #1D7C1A
triadic
#4E7C1A #1A4E7C #7C1A4E
tetradic
#4E7C1A #1A7C79 #481A7C #7C1A1D
square
#4E7C1A #1A7C79 #481A7C #7C1A1D
split-complementary
#4E7C1A #1A1D7C #791A7C
monochromatic
#101905 #2E490F #4E7C1A #6EAF25 #8DD63B

Accessibility & contrast

On white

4.97
#4E7C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4E7C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C1A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C1A#FFFFFF#000000##FFFFFF
##4E7C1A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827203
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#4F776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c1a;
/* rgb */ color: rgb(78, 124, 26);
/* oklch */ color: oklch(53.3% 0.135 132.0);
Tailwind
colors: {
  custom: {
    50: '#84a25f',
    500: '#4e7c1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c1a;
$custom-light: #84a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c1a",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 88.163,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.13473,
    "h": 132
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#4E7C1A
secondary
#7642B0
accent
#40E88F
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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