#4E7D1D#4E7D1D

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

Color values

HEX#4E7D1D
RGBrgb(78, 125, 29)
HSLhsl(89, 62%, 30%)
HSVhsv(89, 77%, 49%)
CMYKcmyk(37.6%, 0%, 76.8%, 51%)
CIE-LABlab(47.46, -32.14, 44.29)
CIE-LCHlch(47.46, 54.73, 125.97°)
OKLaboklab(53.63% -0.0906 0.0991)
OKLCHoklch(53.63% 0.134 132.5)
XYZxyz(10.6971, 16.3752, 3.7593)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D1D #4C1D7D
analogous
#7D7C1D #4E7D1D #1E7D1D
triadic
#4E7D1D #1D4E7D #7D1D4E
tetradic
#4E7D1D #1D7D7C #4C1D7D #7D1D1E
square
#4E7D1D #1D7D7C #4C1D7D #7D1D1E
split-complementary
#4E7D1D #1D1E7D #7C1D7D
monochromatic
#101A06 #2F4B11 #4E7D1D #6DAF29 #8CD341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7D1D#FFFFFF#000000##FFFFFF
##4E7D1D1.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)
#827309
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#4F786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d1d;
/* rgb */ color: rgb(78, 125, 29);
/* oklch */ color: oklch(53.6% 0.134 132.5);
Tailwind
colors: {
  custom: {
    50: '#84a360',
    500: '#4e7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d1d;
$custom-light: #84a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d1d",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 89.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53629,
    "c": 0.13426,
    "h": 132.5
  },
  "luminance": 0.16376
}

Semantic roles & 50–950 ramp

primary
#4E7D1D
secondary
#7A45B1
accent
#42E592
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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