#2C8252#2C8252

#2C8252 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.2% C 0.111 H 155.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2C8252
RGBrgb(44, 130, 82)
HSLhsl(147, 49%, 34%)
HSVhsv(147, 66%, 51%)
CMYKcmyk(66.2%, 0%, 36.9%, 49%)
CIE-LABlab(48.40, -37.33, 18.66)
CIE-LCHlch(48.40, 41.73, 153.45°)
OKLaboklab(54.23% -0.1012 0.0468)
OKLCHoklch(54.23% 0.111 155.2)
XYZxyz(10.5434, 17.1088, 10.7277)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8252 #822C5C
analogous
#31822C #2C8252 #2C827D
triadic
#2C8252 #522C82 #82522C
tetradic
#2C8252 #2C3182 #822C5C #827D2C
square
#2C8252 #2C3182 #822C5C #827D2C
split-complementary
#2C8252 #7D2C82 #822C31
monochromatic
#0D2718 #1D5435 #2C8252 #3BB06F #5FC98E

Accessibility & contrast

On white

4.75
#2C8252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2C8252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8252
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8252#FFFFFF#000000##FFFFFF
##2C82521.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784F
Deuteranopia (green-blind)
#767055
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8252;
/* rgb */ color: rgb(44, 130, 82);
/* oklch */ color: oklch(54.2% 0.111 155.2);
Tailwind
colors: {
  custom: {
    50: '#6fa783',
    500: '#2c8252',
    950: '#000000',
  },
}
SCSS
$custom: #2c8252;
$custom-light: #6fa783;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8252",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 146.512,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.11148,
    "h": 155.2
  },
  "luminance": 0.1711
}

Semantic roles & 50–950 ramp

primary
#2C8252
secondary
#AF5B8A
accent
#4F9CD9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C8252

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

Preview Lab → · Contrast checker → · Palette generator →

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