#4E8030#4E8030

#4E8030 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.124 H 135.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4E8030
RGBrgb(78, 128, 48)
HSLhsl(98, 45%, 35%)
HSVhsv(98, 63%, 50%)
CMYKcmyk(39.1%, 0%, 62.5%, 49.8%)
CIE-LABlab(48.60, -31.91, 37.32)
CIE-LCHlch(48.60, 49.10, 130.53°)
OKLaboklab(54.61% -0.0885 0.087)
OKLCHoklch(54.61% 0.124 135.5)
XYZxyz(11.3943, 17.2709, 5.5290)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8030 #623080
analogous
#768030 #4E8030 #30803A
triadic
#4E8030 #304E80 #80304E
tetradic
#4E8030 #307680 #623080 #803A30
square
#4E8030 #307680 #623080 #803A30
split-complementary
#4E8030 #3A3080 #803076
monochromatic
#18270F #33531F #4E8030 #69AD41 #89C565

Accessibility & contrast

On white

4.71
#4E8030 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4E8030 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8030
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8030#FFFFFF#000000##FFFFFF
##4E80301.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857627
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#4D7B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e8030;
/* rgb */ color: rgb(78, 128, 48);
/* oklch */ color: oklch(54.6% 0.124 135.5);
Tailwind
colors: {
  custom: {
    50: '#83a56c',
    500: '#4e8030',
    950: '#000000',
  },
}
SCSS
$custom: #4e8030;
$custom-light: #83a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8030",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 48
  },
  "hsl": {
    "h": 97.5,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.12406,
    "h": 135.5
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#4E8030
secondary
#905FAC
accent
#53D5A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E8030

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

Preview Lab → · Contrast checker → · Palette generator →

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