#2B8F52#2B8F52

#2B8F52 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.131 H 152.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2B8F52
RGBrgb(43, 143, 82)
HSLhsl(143, 54%, 36%)
HSVhsv(143, 70%, 56%)
CMYKcmyk(69.9%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.69, -42.91, 24.34)
CIE-LCHlch(52.69, 49.33, 150.43°)
OKLaboklab(57.76% -0.1157 0.0603)
OKLCHoklch(57.76% 0.131 152.5)
XYZxyz(12.3407, 20.7664, 11.3389)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8F52 #8F2B68
analogous
#368F2B #2B8F52 #2B8F84
triadic
#2B8F52 #522B8F #8F522B
tetradic
#2B8F52 #2B368F #8F2B68 #8F842B
square
#2B8F52 #2B368F #8F2B68 #8F842B
split-complementary
#2B8F52 #842B8F #8F2B36
monochromatic
#0F311C #1D6037 #2B8F52 #39BE6D #64D08E

Accessibility & contrast

On white

4.07
#2B8F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#2B8F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8F52
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8F52#FFFFFF#000000##000000
##2B8F521.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#837A56
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2b8f52;
/* rgb */ color: rgb(43, 143, 82);
/* oklch */ color: oklch(57.8% 0.131 152.5);
Tailwind
colors: {
  custom: {
    50: '#72b183',
    500: '#2b8f52',
    950: '#000000',
  },
}
SCSS
$custom: #2b8f52;
$custom-light: #72b183;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8f52",
  "rgb": {
    "r": 43,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 143.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57756,
    "c": 0.1305,
    "h": 152.5
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#2B8F52
secondary
#B75F95
accent
#4BA4DD
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2B8F52

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

Preview Lab → · Contrast checker → · Palette generator →

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