#2B8F2A#2B8F2A

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

Color values

HEX#2B8F2A
RGBrgb(43, 143, 42)
HSLhsl(119, 55%, 36%)
HSVhsv(119, 71%, 56%)
CMYKcmyk(69.9%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.20, -48.58, 43.56)
CIE-LCHlch(52.20, 65.25, 138.12°)
OKLaboklab(57.19% -0.132 0.0998)
OKLCHoklch(57.19% 0.165 142.9)
XYZxyz(11.2360, 20.3245, 5.5209)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8F2A #8E2A8F
analogous
#5E8F2A #2B8F2A #2A8F5C
triadic
#2B8F2A #2A2B8F #8F2A2B
tetradic
#2B8F2A #2A5E8F #8E2A8F #8F5C2A
square
#2B8F2A #2A5E8F #8E2A8F #8F5C2A
split-complementary
#2B8F2A #5C2A8F #8F2A5E
monochromatic
#0F300E #1D601C #2B8F2A #39BE38 #63D162

Accessibility & contrast

On white

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

On black

5.07
#2B8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8F2A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8F2A#FFFFFF#000000##000000
##2B8F2A1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#108B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8f2a;
/* rgb */ color: rgb(43, 143, 42);
/* oklch */ color: oklch(57.2% 0.165 142.9);
Tailwind
colors: {
  custom: {
    50: '#73b169',
    500: '#2b8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2b8f2a;
$custom-light: #73b169;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8f2a",
  "rgb": {
    "r": 43,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 119.406,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.16544,
    "h": 142.9
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#2B8F2A
secondary
#B65EB7
accent
#4ADEDC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2B8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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