#2B8251#2B8251

#2B8251 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.2% C 0.113 H 154.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B8251
RGBrgb(43, 130, 81)
HSLhsl(146, 50%, 34%)
HSVhsv(146, 67%, 51%)
CMYKcmyk(66.9%, 0%, 37.7%, 49%)
CIE-LABlab(48.35, -37.74, 19.16)
CIE-LCHlch(48.35, 42.32, 153.09°)
OKLaboklab(54.18% -0.1022 0.048)
OKLCHoklch(54.18% 0.113 154.8)
XYZxyz(10.4632, 17.0718, 10.5268)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8251 #822B5C
analogous
#31822B #2B8251 #2B827D
triadic
#2B8251 #512B82 #82512B
tetradic
#2B8251 #2B3182 #822B5C #827D2B
square
#2B8251 #2B3182 #822B5C #827D2B
split-complementary
#2B8251 #7D2B82 #822B31
monochromatic
#0D2618 #1C5434 #2B8251 #3AB06E #5ECA8D

Accessibility & contrast

On white

4.76
#2B8251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2B8251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8251
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8251#FFFFFF#000000##FFFFFF
##2B82511.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784E
Deuteranopia (green-blind)
#767054
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8251;
/* rgb */ color: rgb(43, 130, 81);
/* oklch */ color: oklch(54.2% 0.113 154.8);
Tailwind
colors: {
  custom: {
    50: '#6fa782',
    500: '#2b8251',
    950: '#000000',
  },
}
SCSS
$custom: #2b8251;
$custom-light: #6fa782;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8251",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 81
  },
  "hsl": {
    "h": 146.207,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.11292,
    "h": 154.8
  },
  "luminance": 0.17073
}

Semantic roles & 50–950 ramp

primary
#2B8251
secondary
#B0598A
accent
#4E9DDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B8251

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

Preview Lab → · Contrast checker → · Palette generator →

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