#4E8227#4E8227

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

Color values

HEX#4E8227
RGBrgb(78, 130, 39)
HSLhsl(94, 54%, 33%)
HSVhsv(94, 70%, 51%)
CMYKcmyk(40%, 0%, 70%, 49%)
CIE-LABlab(49.17, -33.67, 42.02)
CIE-LCHlch(49.17, 53.84, 128.70°)
OKLaboklab(55.05% -0.094 0.0958)
OKLCHoklch(55.05% 0.134 134.5)
XYZxyz(11.4905, 17.7309, 4.7360)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8227 #5B2782
analogous
#7B8227 #4E8227 #27822E
triadic
#4E8227 #274E82 #82274E
tetradic
#4E8227 #277B82 #5B2782 #822E27
square
#4E8227 #277B82 #5B2782 #822E27
split-complementary
#4E8227 #2E2782 #82277B
monochromatic
#16240B #325319 #4E8227 #6AB135 #89CD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8227#FFFFFF#000000##FFFFFF
##4E82271.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)
#87781A
Deuteranopia (green-blind)
#80732F
Tritanopia (blue-blind)
#4D7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e8227;
/* rgb */ color: rgb(78, 130, 39);
/* oklch */ color: oklch(55.0% 0.134 134.5);
Tailwind
colors: {
  custom: {
    50: '#84a766',
    500: '#4e8227',
    950: '#000000',
  },
}
SCSS
$custom: #4e8227;
$custom-light: #84a766;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8227",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 94.286,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.1342,
    "h": 134.5
  },
  "luminance": 0.17731
}

Semantic roles & 50–950 ramp

primary
#4E8227
secondary
#8953B1
accent
#4BDD9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8227

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

Preview Lab → · Contrast checker → · Palette generator →

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