#2B8335#2B8335

#2B8335 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.141 H 145.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2B8335
RGBrgb(43, 131, 53)
HSLhsl(127, 51%, 34%)
HSVhsv(127, 67%, 51%)
CMYKcmyk(67.2%, 0%, 59.5%, 48.6%)
CIE-LABlab(48.26, -42.90, 34.12)
CIE-LCHlch(48.26, 54.82, 141.50°)
OKLaboklab(53.97% -0.116 0.0808)
OKLCHoklch(53.97% 0.141 145.1)
XYZxyz(9.7545, 17.0022, 6.1352)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8335 #832B79
analogous
#4D832B #2B8335 #2B8361
triadic
#2B8335 #352B83 #83352B
tetradic
#2B8335 #2B4D83 #832B79 #83612B
square
#2B8335 #2B4D83 #832B79 #83612B
split-complementary
#2B8335 #612B83 #832B4D
monochromatic
#0D2710 #1C5522 #2B8335 #3AB148 #5ECA6A

Accessibility & contrast

On white

4.77
#2B8335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2B8335 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8335
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8335#FFFFFF#000000##FFFFFF
##2B83351.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772D
Deuteranopia (green-blind)
#7A703B
Tritanopia (blue-blind)
#138072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8335;
/* rgb */ color: rgb(43, 131, 53);
/* oklch */ color: oklch(54.0% 0.141 145.1);
Tailwind
colors: {
  custom: {
    50: '#70a86f',
    500: '#2b8335',
    950: '#000000',
  },
}
SCSS
$custom: #2b8335;
$custom-light: #70a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8335",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 126.818,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.14142,
    "h": 145.1
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#2B8335
secondary
#B05AA6
accent
#4ECADA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B8335

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

Preview Lab → · Contrast checker → · Palette generator →

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