#4E8228#4E8228

#4E8228 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.133 H 134.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4E8228
RGBrgb(78, 130, 40)
HSLhsl(95, 53%, 33%)
HSVhsv(95, 69%, 51%)
CMYKcmyk(40%, 0%, 69.2%, 49%)
CIE-LABlab(49.18, -33.58, 41.60)
CIE-LCHlch(49.18, 53.46, 128.91°)
OKLaboklab(55.06% -0.0937 0.0951)
OKLCHoklch(55.06% 0.133 134.6)
XYZxyz(11.5073, 17.7376, 4.8244)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8228 #5C2882
analogous
#7B8228 #4E8228 #28822F
triadic
#4E8228 #284E82 #82284E
tetradic
#4E8228 #287B82 #5C2882 #822F28
square
#4E8228 #287B82 #5C2882 #822F28
split-complementary
#4E8228 #2F2882 #82287B
monochromatic
#16240B #32531A #4E8228 #6AB136 #89CC59

Accessibility & contrast

On white

4.62
#4E8228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4E8228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8228
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8228#FFFFFF#000000##FFFFFF
##4E82281.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781C
Deuteranopia (green-blind)
#807330
Tritanopia (blue-blind)
#4D7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e8228;
/* rgb */ color: rgb(78, 130, 40);
/* oklch */ color: oklch(55.1% 0.133 134.6);
Tailwind
colors: {
  custom: {
    50: '#84a767',
    500: '#4e8228',
    950: '#000000',
  },
}
SCSS
$custom: #4e8228;
$custom-light: #84a767;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8228",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 94.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.13345,
    "h": 134.6
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#4E8228
secondary
#8A55B1
accent
#4BDC9F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8228

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

Preview Lab → · Contrast checker → · Palette generator →

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