#2B8F28#2B8F28

#2B8F28 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.167 H 142.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2B8F28
RGBrgb(43, 143, 40)
HSLhsl(118, 56%, 36%)
HSVhsv(118, 72%, 56%)
CMYKcmyk(69.9%, 0%, 72%, 43.9%)
CIE-LABlab(52.19, -48.77, 44.37)
CIE-LCHlch(52.19, 65.93, 137.71°)
OKLaboklab(57.17% -0.1326 0.1012)
OKLCHoklch(57.17% 0.167 142.6)
XYZxyz(11.2011, 20.3105, 5.3371)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8F28 #8C288F
analogous
#5E8F28 #2B8F28 #288F58
triadic
#2B8F28 #282B8F #8F282B
tetradic
#2B8F28 #285E8F #8C288F #8F5828
square
#2B8F28 #285E8F #8C288F #8F5828
split-complementary
#2B8F28 #58288F #8F285E
monochromatic
#0E2F0D #1D5F1B #2B8F28 #39BF35 #62D25F

Accessibility & contrast

On white

4.15
#2B8F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2B8F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8F28
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8F28#FFFFFF#000000##000000
##2B8F281.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#877932
Tritanopia (blue-blind)
#118B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8f28;
/* rgb */ color: rgb(43, 143, 40);
/* oklch */ color: oklch(57.2% 0.167 142.6);
Tailwind
colors: {
  custom: {
    50: '#73b168',
    500: '#2b8f28',
    950: '#000000',
  },
}
SCSS
$custom: #2b8f28;
$custom-light: #73b168;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8f28",
  "rgb": {
    "r": 43,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 118.252,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57173,
    "c": 0.16679,
    "h": 142.6
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#2B8F28
secondary
#B55BB8
accent
#48E0DB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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