#4E7D1A#4E7D1A

#4E7D1A is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.136 H 132.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4E7D1A
RGBrgb(78, 125, 26)
HSLhsl(88, 66%, 30%)
HSVhsv(88, 79%, 49%)
CMYKcmyk(37.6%, 0%, 79.2%, 51%)
CIE-LABlab(47.44, -32.33, 45.35)
CIE-LCHlch(47.44, 55.70, 125.48°)
OKLaboklab(53.61% -0.0914 0.1008)
OKLCHoklch(53.61% 0.136 132.2)
XYZxyz(10.6618, 16.3611, 3.5733)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D1A #491A7D
analogous
#7D7B1A #4E7D1A #1C7D1A
triadic
#4E7D1A #1A4E7D #7D1A4E
tetradic
#4E7D1A #1A7D7B #491A7D #7D1A1C
square
#4E7D1A #1A7D7B #491A7D #7D1A1C
split-complementary
#4E7D1A #1A1C7D #7B1A7D
monochromatic
#101905 #2E4A0F #4E7D1A #6EB025 #8DD63B

Accessibility & contrast

On white

4.92
#4E7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4E7D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D1A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D1A#FFFFFF#000000##FFFFFF
##4E7D1A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#4F786A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d1a;
/* rgb */ color: rgb(78, 125, 26);
/* oklch */ color: oklch(53.6% 0.136 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a35f',
    500: '#4e7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d1a;
$custom-light: #84a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d1a",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 88.485,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.13605,
    "h": 132.2
  },
  "luminance": 0.16362
}

Semantic roles & 50–950 ramp

primary
#4E7D1A
secondary
#7742B1
accent
#3FE990
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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