#4E7C1D#4E7C1D

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

Color values

HEX#4E7C1D
RGBrgb(78, 124, 29)
HSLhsl(89, 62%, 30%)
HSVhsv(89, 77%, 49%)
CMYKcmyk(37.1%, 0%, 76.6%, 51.4%)
CIE-LABlab(47.14, -31.68, 43.97)
CIE-LCHlch(47.14, 54.20, 125.77°)
OKLaboklab(53.36% -0.0894 0.0984)
OKLCHoklch(53.36% 0.133 132.3)
XYZxyz(10.5712, 16.1233, 3.7173)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C1D #4B1D7C
analogous
#7C7B1D #4E7C1D #1E7C1D
triadic
#4E7C1D #1D4E7C #7C1D4E
tetradic
#4E7C1D #1D7C7B #4B1D7C #7C1D1E
square
#4E7C1D #1D7C7B #4B1D7C #7C1D1E
split-complementary
#4E7C1D #1D1E7C #7B1D7C
monochromatic
#101906 #2F4A11 #4E7C1D #6DAE29 #8CD341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7C1D#FFFFFF#000000##FFFFFF
##4E7C1D1.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)
#81720A
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#4F776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c1d;
/* rgb */ color: rgb(78, 124, 29);
/* oklch */ color: oklch(53.4% 0.133 132.3);
Tailwind
colors: {
  custom: {
    50: '#84a260',
    500: '#4e7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c1d;
$custom-light: #84a260;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c1d",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 89.053,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.13293,
    "h": 132.3
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#4E7C1D
secondary
#7945B0
accent
#43E591
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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