#2B8D28#2B8D28

#2B8D28 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.164 H 142.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2B8D28
RGBrgb(43, 141, 40)
HSLhsl(118, 56%, 35%)
HSVhsv(118, 72%, 55%)
CMYKcmyk(69.5%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.51, -48.06, 43.67)
CIE-LCHlch(51.51, 64.93, 137.74°)
OKLaboklab(56.62% -0.1306 0.0997)
OKLCHoklch(56.62% 0.164 142.6)
XYZxyz(10.9035, 19.7154, 5.2379)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D28 #8A288D
analogous
#5D8D28 #2B8D28 #288D57
triadic
#2B8D28 #282B8D #8D282B
tetradic
#2B8D28 #285D8D #8A288D #8D5728
square
#2B8D28 #285D8D #8A288D #8D5728
split-complementary
#2B8D28 #57288D #8D285D
monochromatic
#0E2E0D #1C5D1A #2B8D28 #3ABD36 #61D15E

Accessibility & contrast

On white

4.25
#2B8D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2B8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D28
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D28#FFFFFF#000000##000000
##2B8D281.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#128979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8d28;
/* rgb */ color: rgb(43, 141, 40);
/* oklch */ color: oklch(56.6% 0.164 142.6);
Tailwind
colors: {
  custom: {
    50: '#73af68',
    500: '#2b8d28',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d28;
$custom-light: #73af68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d28",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 118.218,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56616,
    "c": 0.16437,
    "h": 142.6
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#2B8D28
secondary
#B45AB7
accent
#49DFDB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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