#2B8E28#2B8E28

#2B8E28 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.166 H 142.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2B8E28
RGBrgb(43, 142, 40)
HSLhsl(118, 56%, 36%)
HSVhsv(118, 72%, 56%)
CMYKcmyk(69.7%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.85, -48.42, 44.02)
CIE-LCHlch(51.85, 65.43, 137.72°)
OKLaboklab(56.9% -0.1316 0.1005)
OKLCHoklch(56.9% 0.166 142.6)
XYZxyz(11.0516, 20.0116, 5.2873)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E28 #8B288E
analogous
#5E8E28 #2B8E28 #288E58
triadic
#2B8E28 #282B8E #8E282B
tetradic
#2B8E28 #285E8E #8B288E #8E5828
square
#2B8E28 #285E8E #8B288E #8E5828
split-complementary
#2B8E28 #58288E #8E285E
monochromatic
#0E2F0D #1D5E1B #2B8E28 #39BE35 #62D25F

Accessibility & contrast

On white

4.20
#2B8E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2B8E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E28
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E28#FFFFFF#000000##000000
##2B8E281.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#118A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8e28;
/* rgb */ color: rgb(43, 142, 40);
/* oklch */ color: oklch(56.9% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#73b068',
    500: '#2b8e28',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e28;
$custom-light: #73b068;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e28",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 118.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.16559,
    "h": 142.6
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#2B8E28
secondary
#B55BB7
accent
#48DFDB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8E28

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

Preview Lab → · Contrast checker → · Palette generator →

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