#45A227#45A227

#45A227 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.2% C 0.180 H 139.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#45A227
RGBrgb(69, 162, 39)
HSLhsl(105, 61%, 39%)
HSVhsv(105, 76%, 64%)
CMYKcmyk(57.4%, 0%, 75.9%, 36.5%)
CIE-LABlab(59.21, -49.59, 52.11)
CIE-LCHlch(59.21, 71.93, 133.58°)
OKLaboklab(63.19% -0.1364 0.117)
OKLCHoklch(63.19% 0.18 139.4)
XYZxyz(15.7401, 27.2510, 6.3496)
Luminance0.2725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45A227 #8427A2
analogous
#83A227 #45A227 #27A247
triadic
#45A227 #2745A2 #A22745
tetradic
#45A227 #2783A2 #8427A2 #A24727
square
#45A227 #2783A2 #8427A2 #A24727
split-complementary
#45A227 #4727A2 #A22783
monochromatic
#1B3F0F #30711B #45A227 #5CCF37 #84DB69

Accessibility & contrast

On white

3.26
#45A227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#45A227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45A227
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45A227#FFFFFF#000000##000000
##45A2271.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930C
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#3B9C8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #45a227;
/* rgb */ color: rgb(69, 162, 39);
/* oklch */ color: oklch(63.2% 0.180 139.4);
Tailwind
colors: {
  custom: {
    50: '#83be6a',
    500: '#45a227',
    950: '#000000',
  },
}
SCSS
$custom: #45a227;
$custom-light: #83be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#45a227",
  "rgb": {
    "r": 69,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 105.366,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63192,
    "c": 0.17975,
    "h": 139.4
  },
  "luminance": 0.27252
}

Semantic roles & 50–950 ramp

primary
#45A227
secondary
#AA64C1
accent
#43E4BD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #45A227

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

Preview Lab → · Contrast checker → · Palette generator →

#45A227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva