#4E7C1C#4E7C1C

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

Color values

HEX#4E7C1C
RGBrgb(78, 124, 28)
HSLhsl(89, 63%, 30%)
HSVhsv(89, 77%, 49%)
CMYKcmyk(37.1%, 0%, 77.4%, 51.4%)
CIE-LABlab(47.13, -31.75, 44.34)
CIE-LCHlch(47.13, 54.53, 125.60°)
OKLaboklab(53.36% -0.0897 0.099)
OKLCHoklch(53.36% 0.134 132.2)
XYZxyz(10.5590, 16.1184, 3.6532)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C1C #4A1C7C
analogous
#7C7A1C #4E7C1C #1E7C1C
triadic
#4E7C1C #1C4E7C #7C1C4E
tetradic
#4E7C1C #1C7C7A #4A1C7C #7C1C1E
square
#4E7C1C #1C7C7A #4A1C7C #7C1C1E
split-complementary
#4E7C1C #1C1E7C #7A1C7C
monochromatic
#101906 #2F4A11 #4E7C1C #6DAE27 #8CD43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7C1C#FFFFFF#000000##FFFFFF
##4E7C1C1.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)
#827207
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#4F776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c1c;
/* rgb */ color: rgb(78, 124, 28);
/* oklch */ color: oklch(53.4% 0.134 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a260',
    500: '#4e7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c1c;
$custom-light: #84a260;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c1c",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 88.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.13355,
    "h": 132.2
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#4E7C1C
secondary
#7844B0
accent
#42E690
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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