#2B8252#2B8252

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

Color values

HEX#2B8252
RGBrgb(43, 130, 82)
HSLhsl(147, 50%, 34%)
HSVhsv(147, 67%, 51%)
CMYKcmyk(66.9%, 0%, 36.9%, 49%)
CIE-LABlab(48.37, -37.53, 18.61)
CIE-LCHlch(48.37, 41.90, 153.62°)
OKLaboklab(54.2% -0.1017 0.0467)
OKLCHoklch(54.2% 0.112 155.3)
XYZxyz(10.5010, 17.0869, 10.7257)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8252 #822B5B
analogous
#2F822B #2B8252 #2B827E
triadic
#2B8252 #522B82 #82522B
tetradic
#2B8252 #2B2F82 #822B5B #827E2B
square
#2B8252 #2B2F82 #822B5B #827E2B
split-complementary
#2B8252 #7E2B82 #822B2F
monochromatic
#0D2618 #1C5435 #2B8252 #3AB06F #5ECA8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8252#FFFFFF#000000##FFFFFF
##2B82521.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)
#81784F
Deuteranopia (green-blind)
#767055
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8252;
/* rgb */ color: rgb(43, 130, 82);
/* oklch */ color: oklch(54.2% 0.112 155.3);
Tailwind
colors: {
  custom: {
    50: '#6fa783',
    500: '#2b8252',
    950: '#000000',
  },
}
SCSS
$custom: #2b8252;
$custom-light: #6fa783;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8252",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 146.897,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.11193,
    "h": 155.3
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#2B8252
secondary
#B05989
accent
#4E9BDA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B8252

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

Preview Lab → · Contrast checker → · Palette generator →

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