#2B8E2A#2B8E2A

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

Color values

HEX#2B8E2A
RGBrgb(43, 142, 42)
HSLhsl(119, 54%, 36%)
HSVhsv(119, 70%, 56%)
CMYKcmyk(69.7%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.87, -48.23, 43.21)
CIE-LCHlch(51.87, 64.75, 138.14°)
OKLaboklab(56.91% -0.131 0.099)
OKLCHoklch(56.91% 0.164 142.9)
XYZxyz(11.0865, 20.0256, 5.4711)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E2A #8D2A8E
analogous
#5D8E2A #2B8E2A #2A8E5B
triadic
#2B8E2A #2A2B8E #8E2A2B
tetradic
#2B8E2A #2A5D8E #8D2A8E #8E5B2A
square
#2B8E2A #2A5D8E #8D2A8E #8E5B2A
split-complementary
#2B8E2A #5B2A8E #8E2A5D
monochromatic
#0E300E #1D5F1C #2B8E2A #39BD38 #63D162

Accessibility & contrast

On white

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

On black

5.01
#2B8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E2A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E2A#FFFFFF#000000##000000
##2B8E2A1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811B
Deuteranopia (green-blind)
#857934
Tritanopia (blue-blind)
#118A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8e2a;
/* rgb */ color: rgb(43, 142, 42);
/* oklch */ color: oklch(56.9% 0.164 142.9);
Tailwind
colors: {
  custom: {
    50: '#73b069',
    500: '#2b8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e2a;
$custom-light: #73b069;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e2a",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 119.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.16423,
    "h": 142.9
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#2B8E2A
secondary
#B65DB6
accent
#4ADEDC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2B8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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