#4DA228#4DA228

#4DA228 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.5% C 0.175 H 138.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4DA228
RGBrgb(77, 162, 40)
HSLhsl(102, 60%, 40%)
HSVhsv(102, 75%, 64%)
CMYKcmyk(52.5%, 0%, 75.3%, 36.5%)
CIE-LABlab(59.50, -47.27, 52.14)
CIE-LCHlch(59.50, 70.38, 132.20°)
OKLaboklab(63.52% -0.1307 0.1171)
OKLCHoklch(63.52% 0.175 138.1)
XYZxyz(16.3633, 27.5704, 6.4664)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4DA228 #7D28A2
analogous
#8AA228 #4DA228 #28A240
triadic
#4DA228 #284DA2 #A2284D
tetradic
#4DA228 #288AA2 #7D28A2 #A24028
square
#4DA228 #288AA2 #7D28A2 #A24028
split-complementary
#4DA228 #4028A2 #A2288A
monochromatic
#1E4010 #36711C #4DA228 #66CE39 #8CDA6A

Accessibility & contrast

On white

3.22
#4DA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#4DA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4DA228
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4DA228#FFFFFF#000000##000000
##4DA2281.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940F
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#469C8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4da228;
/* rgb */ color: rgb(77, 162, 40);
/* oklch */ color: oklch(63.5% 0.175 138.1);
Tailwind
colors: {
  custom: {
    50: '#87be6b',
    500: '#4da228',
    950: '#000000',
  },
}
SCSS
$custom: #4da228;
$custom-light: #87be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4da228",
  "rgb": {
    "r": 77,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 101.803,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.17548,
    "h": 138.1
  },
  "luminance": 0.27572
}

Semantic roles & 50–950 ramp

primary
#4DA228
secondary
#A565C1
accent
#44E4B3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4DA228

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

Preview Lab → · Contrast checker → · Palette generator →

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