#4E7E1E#4E7E1E

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

Color values

HEX#4E7E1E
RGBrgb(78, 126, 30)
HSLhsl(90, 62%, 31%)
HSVhsv(90, 76%, 49%)
CMYKcmyk(38.1%, 0%, 76.2%, 50.6%)
CIE-LABlab(47.80, -32.53, 44.25)
CIE-LCHlch(47.80, 54.92, 126.32°)
OKLaboklab(53.9% -0.0916 0.0991)
OKLCHoklch(53.9% 0.135 132.8)
XYZxyz(10.8369, 16.6347, 3.8679)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E1E #4E1E7E
analogous
#7E7E1E #4E7E1E #1E7E1E
triadic
#4E7E1E #1E4E7E #7E1E4E
tetradic
#4E7E1E #1E7E7E #4E1E7E #7E1E1E
square
#4E7E1E #1E7E7E #4E1E7E #7E1E1E
split-complementary
#4E7E1E #1E1E7E #7E1E7E
monochromatic
#111B06 #2F4D12 #4E7E1E #6DAF2A #8BD244

Accessibility & contrast

On white

4.85
#4E7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4E7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E1E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E1E#FFFFFF#000000##FFFFFF
##4E7E1E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740B
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e1e;
/* rgb */ color: rgb(78, 126, 30);
/* oklch */ color: oklch(53.9% 0.135 132.8);
Tailwind
colors: {
  custom: {
    50: '#84a461',
    500: '#4e7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e1e;
$custom-light: #84a461;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e1e",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 90,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.13497,
    "h": 132.8
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#4E7E1E
secondary
#7C47B1
accent
#43E594
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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