#2CA228#2CA228

#2CA228 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.4% C 0.189 H 142.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2CA228
RGBrgb(44, 162, 40)
HSLhsl(118, 60%, 40%)
HSVhsv(118, 75%, 64%)
CMYKcmyk(72.8%, 0%, 75.3%, 36.5%)
CIE-LABlab(58.53, -55.08, 50.86)
CIE-LCHlch(58.53, 74.97, 137.28°)
OKLaboklab(62.45% -0.1497 0.1148)
OKLCHoklch(62.45% 0.189 142.5)
XYZxyz(14.3412, 26.5277, 6.3716)
Luminance0.2653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CA228 #9E28A2
analogous
#69A228 #2CA228 #28A261
triadic
#2CA228 #282CA2 #A2282C
tetradic
#2CA228 #2869A2 #9E28A2 #A26128
square
#2CA228 #2869A2 #9E28A2 #A26128
split-complementary
#2CA228 #6128A2 #A22869
monochromatic
#114010 #1F711C #2CA228 #3ECE39 #6EDA6A

Accessibility & contrast

On white

3.33
#2CA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#2CA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2CA228
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CA228#FFFFFF#000000##000000
##2CA2281.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920F
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2ca228;
/* rgb */ color: rgb(44, 162, 40);
/* oklch */ color: oklch(62.4% 0.189 142.5);
Tailwind
colors: {
  custom: {
    50: '#78bf6a',
    500: '#2ca228',
    950: '#000000',
  },
}
SCSS
$custom: #2ca228;
$custom-light: #78bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ca228",
  "rgb": {
    "r": 44,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 118.033,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62446,
    "c": 0.18866,
    "h": 142.5
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

primary
#2CA228
secondary
#BE65C1
accent
#44E4DE
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2CA228

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

Preview Lab → · Contrast checker → · Palette generator →

#2CA228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva