#2B8248#2B8248

#2B8248 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.122 H 151.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2B8248
RGBrgb(43, 130, 72)
HSLhsl(140, 50%, 34%)
HSVhsv(140, 67%, 51%)
CMYKcmyk(66.9%, 0%, 44.6%, 49%)
CIE-LABlab(48.19, -39.49, 23.99)
CIE-LCHlch(48.19, 46.20, 148.72°)
OKLaboklab(53.99% -0.1066 0.0592)
OKLCHoklch(53.99% 0.122 151)
XYZxyz(10.1478, 16.9457, 8.8657)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8248 #822B65
analogous
#3A822B #2B8248 #2B8274
triadic
#2B8248 #482B82 #82482B
tetradic
#2B8248 #2B3A82 #822B65 #82742B
square
#2B8248 #2B3A82 #822B65 #82742B
split-complementary
#2B8248 #742B82 #822B3A
monochromatic
#0D2615 #1C542F #2B8248 #3AB061 #5ECA82

Accessibility & contrast

On white

4.78
#2B8248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2B8248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8248
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8248#FFFFFF#000000##FFFFFF
##2B82481.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837744
Deuteranopia (green-blind)
#786F4C
Tritanopia (blue-blind)
#058074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8248;
/* rgb */ color: rgb(43, 130, 72);
/* oklch */ color: oklch(54.0% 0.122 151.0);
Tailwind
colors: {
  custom: {
    50: '#6fa77c',
    500: '#2b8248',
    950: '#000000',
  },
}
SCSS
$custom: #2b8248;
$custom-light: #6fa77c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8248",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 72
  },
  "hsl": {
    "h": 140,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.1219,
    "h": 151
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#2B8248
secondary
#B05993
accent
#4EABDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B8248

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

Preview Lab → · Contrast checker → · Palette generator →

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