#4E7D1E#4E7D1E

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

Color values

HEX#4E7D1E
RGBrgb(78, 125, 30)
HSLhsl(90, 61%, 30%)
HSVhsv(90, 76%, 49%)
CMYKcmyk(37.6%, 0%, 76%, 51%)
CIE-LABlab(47.47, -32.08, 43.93)
CIE-LCHlch(47.47, 54.39, 126.14°)
OKLaboklab(53.64% -0.0904 0.0984)
OKLCHoklch(53.64% 0.134 132.6)
XYZxyz(10.7097, 16.3802, 3.8255)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D1E #4D1E7D
analogous
#7D7C1E #4E7D1E #1F7D1E
triadic
#4E7D1E #1E4E7D #7D1E4E
tetradic
#4E7D1E #1E7D7C #4D1E7D #7D1E1F
square
#4E7D1E #1E7D7C #4D1E7D #7D1E1F
split-complementary
#4E7D1E #1E1F7D #7C1E7D
monochromatic
#101A06 #2F4C12 #4E7D1E #6DAE2A #8BD243

Accessibility & contrast

On white

4.91
#4E7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4E7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D1E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D1E#FFFFFF#000000##FFFFFF
##4E7D1E1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#4F786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d1e;
/* rgb */ color: rgb(78, 125, 30);
/* oklch */ color: oklch(53.6% 0.134 132.6);
Tailwind
colors: {
  custom: {
    50: '#84a361',
    500: '#4e7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d1e;
$custom-light: #84a361;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d1e",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 89.684,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53637,
    "c": 0.13364,
    "h": 132.6
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#4E7D1E
secondary
#7B46B0
accent
#43E493
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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