#4E7E1C#4E7E1C

#4E7E1C is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.136 H 132.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E7E1C
RGBrgb(78, 126, 28)
HSLhsl(89, 64%, 30%)
HSVhsv(89, 78%, 49%)
CMYKcmyk(38.1%, 0%, 77.8%, 50.6%)
CIE-LABlab(47.78, -32.66, 44.97)
CIE-LCHlch(47.78, 55.58, 125.99°)
OKLaboklab(53.89% -0.0921 0.1003)
OKLCHoklch(53.89% 0.136 132.6)
XYZxyz(10.8122, 16.6248, 3.7376)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E1C #4C1C7E
analogous
#7E7D1C #4E7E1C #1D7E1C
triadic
#4E7E1C #1C4E7E #7E1C4E
tetradic
#4E7E1C #1C7E7D #4C1C7E #7E1C1D
square
#4E7E1C #1C7E7D #4C1C7E #7E1C1D
split-complementary
#4E7E1C #1C1D7E #7D1C7E
monochromatic
#101A06 #2F4C11 #4E7E1C #6DB027 #8CD540

Accessibility & contrast

On white

4.86
#4E7E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E7E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E1C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E1C#FFFFFF#000000##FFFFFF
##4E7E1C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837406
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#4F796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e1c;
/* rgb */ color: rgb(78, 126, 28);
/* oklch */ color: oklch(53.9% 0.136 132.6);
Tailwind
colors: {
  custom: {
    50: '#84a460',
    500: '#4e7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e1c;
$custom-light: #84a460;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e1c",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 89.388,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.1362,
    "h": 132.6
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#4E7E1C
secondary
#7A44B2
accent
#41E792
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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