#45A242#45A242

#45A242 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.5% C 0.160 H 142.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#45A242
RGBrgb(69, 162, 66)
HSLhsl(118, 42%, 45%)
HSVhsv(118, 59%, 64%)
CMYKcmyk(57.4%, 0%, 59.3%, 36.5%)
CIE-LABlab(59.43, -47.02, 41.04)
CIE-LCHlch(59.43, 62.42, 138.88°)
OKLaboklab(63.45% -0.1279 0.0968)
OKLCHoklch(63.45% 0.16 142.9)
XYZxyz(16.3571, 27.4978, 9.5988)
Luminance0.2750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45A242 #9F42A2
analogous
#75A242 #45A242 #42A26F
triadic
#45A242 #4245A2 #A24245
tetradic
#45A242 #4275A2 #9F42A2 #A26F42
square
#45A242 #4275A2 #9F42A2 #A26F42
split-complementary
#45A242 #6F42A2 #A24275
monochromatic
#204B1F #327730 #45A242 #65BF62 #90D18E

Accessibility & contrast

On white

3.23
#45A242 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#45A242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45A242
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45A242#FFFFFF#000000##000000
##45A2421.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59438
Deuteranopia (green-blind)
#998C4A
Tritanopia (blue-blind)
#369E8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #45a242;
/* rgb */ color: rgb(69, 162, 66);
/* oklch */ color: oklch(63.5% 0.160 142.9);
Tailwind
colors: {
  custom: {
    50: '#82be79',
    500: '#45a242',
    950: '#000000',
  },
}
SCSS
$custom: #45a242;
$custom-light: #82be79;
$custom-dark: #000000;
JSON
{
  "hex": "#45a242",
  "rgb": {
    "r": 69,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 118.125,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63451,
    "c": 0.16043,
    "h": 142.9
  },
  "luminance": 0.27499
}

Semantic roles & 50–950 ramp

primary
#45A242
secondary
#BA84BC
accent
#56D2CE
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #45A242

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

Preview Lab → · Contrast checker → · Palette generator →

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