#45A142#45A142

#45A142 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.2% C 0.159 H 142.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#45A142
RGBrgb(69, 161, 66)
HSLhsl(118, 42%, 45%)
HSVhsv(118, 59%, 63%)
CMYKcmyk(57.1%, 0%, 59%, 36.9%)
CIE-LABlab(59.11, -46.63, 40.67)
CIE-LCHlch(59.11, 61.88, 138.91°)
OKLaboklab(63.19% -0.1269 0.096)
OKLCHoklch(63.19% 0.159 142.9)
XYZxyz(16.1816, 27.1469, 9.5403)
Luminance0.2715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45A142 #9E42A1
analogous
#75A142 #45A142 #42A16F
triadic
#45A142 #4245A1 #A14245
tetradic
#45A142 #4275A1 #9E42A1 #A16F42
square
#45A142 #4275A1 #9E42A1 #A16F42
split-complementary
#45A142 #6F42A1 #A14275
monochromatic
#204A1E #327630 #45A142 #65BF62 #8FD08D

Accessibility & contrast

On white

3.27
#45A142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#45A142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45A142
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45A142#FFFFFF#000000##000000
##45A1421.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49338
Deuteranopia (green-blind)
#988B49
Tritanopia (blue-blind)
#379D8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #45a142;
/* rgb */ color: rgb(69, 161, 66);
/* oklch */ color: oklch(63.2% 0.159 142.9);
Tailwind
colors: {
  custom: {
    50: '#82be79',
    500: '#45a142',
    950: '#000000',
  },
}
SCSS
$custom: #45a142;
$custom-light: #82be79;
$custom-dark: #000000;
JSON
{
  "hex": "#45a142",
  "rgb": {
    "r": 69,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 118.105,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63186,
    "c": 0.1591,
    "h": 142.9
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45A142

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

Preview Lab → · Contrast checker → · Palette generator →

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