#2C9228#2C9228

#2C9228 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.170 H 142.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2C9228
RGBrgb(44, 146, 40)
HSLhsl(118, 57%, 36%)
HSVhsv(118, 73%, 57%)
CMYKcmyk(69.9%, 0%, 72.6%, 42.7%)
CIE-LABlab(53.22, -49.62, 45.45)
CIE-LCHlch(53.22, 67.29, 137.52°)
OKLaboklab(58.03% -0.1349 0.1035)
OKLCHoklch(58.03% 0.17 142.5)
XYZxyz(11.6999, 21.2452, 5.4912)
Luminance0.2125 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C9228 #8E2892
analogous
#619228 #2C9228 #289259
triadic
#2C9228 #282C92 #92282C
tetradic
#2C9228 #286192 #8E2892 #925928
square
#2C9228 #286192 #8E2892 #925928
split-complementary
#2C9228 #592892 #922861
monochromatic
#0F320E #1E621B #2C9228 #3AC235 #65D461

Accessibility & contrast

On white

4.00
#2C9228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2C9228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C9228
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C9228#FFFFFF#000000##000000
##2C92281.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#118E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2c9228;
/* rgb */ color: rgb(44, 146, 40);
/* oklch */ color: oklch(58.0% 0.170 142.5);
Tailwind
colors: {
  custom: {
    50: '#74b368',
    500: '#2c9228',
    950: '#000000',
  },
}
SCSS
$custom: #2c9228;
$custom-light: #74b368;
$custom-dark: #000000;
JSON
{
  "hex": "#2c9228",
  "rgb": {
    "r": 44,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 117.736,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.17005,
    "h": 142.5
  },
  "luminance": 0.21246
}

Semantic roles & 50–950 ramp

primary
#2C9228
secondary
#B65DB9
accent
#48E0DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C9228

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

Preview Lab → · Contrast checker → · Palette generator →

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