#4E8032#4E8032

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

Color values

HEX#4E8032
RGBrgb(78, 128, 50)
HSLhsl(98, 44%, 35%)
HSVhsv(98, 61%, 50%)
CMYKcmyk(39.1%, 0%, 60.9%, 49.8%)
CIE-LABlab(48.62, -31.69, 36.37)
CIE-LCHlch(48.62, 48.24, 131.07°)
OKLaboklab(54.63% -0.0877 0.0852)
OKLCHoklch(54.63% 0.122 135.8)
XYZxyz(11.4365, 17.2878, 5.7513)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8032 #643280
analogous
#758032 #4E8032 #32803D
triadic
#4E8032 #324E80 #80324E
tetradic
#4E8032 #327580 #643280 #803D32
square
#4E8032 #327580 #643280 #803D32
split-complementary
#4E8032 #3D3280 #803275
monochromatic
#182810 #335421 #4E8032 #69AC43 #89C468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8032#FFFFFF#000000##FFFFFF
##4E80321.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)
#84762A
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#4D7B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e8032;
/* rgb */ color: rgb(78, 128, 50);
/* oklch */ color: oklch(54.6% 0.122 135.8);
Tailwind
colors: {
  custom: {
    50: '#83a56d',
    500: '#4e8032',
    950: '#000000',
  },
}
SCSS
$custom: #4e8032;
$custom-light: #83a56d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8032",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 50
  },
  "hsl": {
    "h": 98.462,
    "s": 43.82,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.12227,
    "h": 135.8
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#4E8032
secondary
#9162AC
accent
#54D4A6
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E8032

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

Preview Lab → · Contrast checker → · Palette generator →

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