#2B8A2D#2B8A2D

#2B8A2D is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.157 H 143.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2B8A2D
RGBrgb(43, 138, 45)
HSLhsl(121, 52%, 35%)
HSVhsv(121, 69%, 54%)
CMYKcmyk(68.8%, 0%, 67.4%, 45.9%)
CIE-LABlab(50.55, -46.48, 40.49)
CIE-LCHlch(50.55, 61.64, 138.94°)
OKLaboklab(55.83% -0.1261 0.0937)
OKLCHoklch(55.83% 0.157 143.4)
XYZxyz(10.5578, 18.8789, 5.5697)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A2D #8A2B88
analogous
#588A2B #2B8A2D #2B8A5C
triadic
#2B8A2D #2D2B8A #8A2D2B
tetradic
#2B8A2D #2B588A #8A2B88 #8A5C2B
square
#2B8A2D #2B588A #8A2B88 #8A5C2B
split-complementary
#2B8A2D #5C2B8A #8A2B58
monochromatic
#0E2D0F #1C5B1E #2B8A2D #3AB93C #61CE64

Accessibility & contrast

On white

4.40
#2B8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2B8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A2D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A2D#FFFFFF#000000##000000
##2B8A2D1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D21
Deuteranopia (green-blind)
#827535
Tritanopia (blue-blind)
#128677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a2d;
/* rgb */ color: rgb(43, 138, 45);
/* oklch */ color: oklch(55.8% 0.157 143.4);
Tailwind
colors: {
  custom: {
    50: '#72ad6a',
    500: '#2b8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a2d;
$custom-light: #72ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a2d",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 121.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.15709,
    "h": 143.4
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#2B8A2D
secondary
#B45DB2
accent
#4CD9DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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