#4E8031#4E8031

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

Color values

HEX#4E8031
RGBrgb(78, 128, 49)
HSLhsl(98, 45%, 35%)
HSVhsv(98, 62%, 50%)
CMYKcmyk(39.1%, 0%, 61.7%, 49.8%)
CIE-LABlab(48.61, -31.80, 36.85)
CIE-LCHlch(48.61, 48.67, 130.80°)
OKLaboklab(54.62% -0.0881 0.0861)
OKLCHoklch(54.62% 0.123 135.7)
XYZxyz(11.4152, 17.2792, 5.6389)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8031 #633180
analogous
#768031 #4E8031 #31803C
triadic
#4E8031 #314E80 #80314E
tetradic
#4E8031 #317680 #633180 #803C31
square
#4E8031 #317680 #633180 #803C31
split-complementary
#4E8031 #3C3180 #803176
monochromatic
#18270F #335420 #4E8031 #69AC42 #89C567

Accessibility & contrast

On white

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

On black

4.46
#4E8031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E8031#FFFFFF#000000##FFFFFF
##4E80311.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8031;
/* rgb */ color: rgb(78, 128, 49);
/* oklch */ color: oklch(54.6% 0.123 135.7);
Tailwind
colors: {
  custom: {
    50: '#83a56c',
    500: '#4e8031',
    950: '#000000',
  },
}
SCSS
$custom: #4e8031;
$custom-light: #83a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8031",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 97.975,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5462,
    "c": 0.12317,
    "h": 135.7
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#4E8031
secondary
#9061AC
accent
#53D4A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E8031

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

Preview Lab → · Contrast checker → · Palette generator →

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