#2B8231#2B8231

#2B8231 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.144 H 144.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2B8231
RGBrgb(43, 130, 49)
HSLhsl(124, 50%, 34%)
HSVhsv(124, 67%, 51%)
CMYKcmyk(66.9%, 0%, 62.3%, 49%)
CIE-LABlab(47.88, -43.03, 35.64)
CIE-LCHlch(47.88, 55.88, 140.37°)
OKLaboklab(53.63% -0.1166 0.0838)
OKLCHoklch(53.63% 0.144 144.3)
XYZxyz(9.5327, 16.6996, 5.6261)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8231 #822B7C
analogous
#51822B #2B8231 #2B825D
triadic
#2B8231 #312B82 #82312B
tetradic
#2B8231 #2B5182 #822B7C #825D2B
square
#2B8231 #2B5182 #822B7C #825D2B
split-complementary
#2B8231 #5D2B82 #822B51
monochromatic
#0D260E #1C5420 #2B8231 #3AB042 #5ECA65

Accessibility & contrast

On white

4.84
#2B8231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2B8231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8231
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8231#FFFFFF#000000##FFFFFF
##2B82311.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#157E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8231;
/* rgb */ color: rgb(43, 130, 49);
/* oklch */ color: oklch(53.6% 0.144 144.3);
Tailwind
colors: {
  custom: {
    50: '#70a76c',
    500: '#2b8231',
    950: '#000000',
  },
}
SCSS
$custom: #2b8231;
$custom-light: #70a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8231",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 124.138,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.14356,
    "h": 144.3
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#2B8231
secondary
#B059AA
accent
#4ED0DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B8231

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

Preview Lab → · Contrast checker → · Palette generator →

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