#2B852D#2B852D

#2B852D is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.151 H 143.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2B852D
RGBrgb(43, 133, 45)
HSLhsl(121, 51%, 35%)
HSVhsv(121, 68%, 52%)
CMYKcmyk(67.7%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.86, -44.64, 38.63)
CIE-LCHlch(48.86, 59.03, 139.13°)
OKLaboklab(54.43% -0.1211 0.0897)
OKLCHoklch(54.43% 0.151 143.5)
XYZxyz(9.8569, 17.4771, 5.3361)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B852D #852B83
analogous
#56852B #2B852D #2B855A
triadic
#2B852D #2D2B85 #852D2B
tetradic
#2B852D #2B5685 #852B83 #855A2B
square
#2B852D #2B5685 #852B83 #855A2B
split-complementary
#2B852D #5A2B85 #852B56
monochromatic
#0D290E #1C571D #2B852D #3AB33D #5FCB62

Accessibility & contrast

On white

4.67
#2B852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2B852D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B852D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B852D#FFFFFF#000000##FFFFFF
##2B852D1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#158173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b852d;
/* rgb */ color: rgb(43, 133, 45);
/* oklch */ color: oklch(54.4% 0.151 143.5);
Tailwind
colors: {
  custom: {
    50: '#71a96a',
    500: '#2b852d',
    950: '#000000',
  },
}
SCSS
$custom: #2b852d;
$custom-light: #71a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b852d",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 121.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.15074,
    "h": 143.5
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#2B852D
secondary
#B15BAF
accent
#4DD7DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B852D

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

Preview Lab → · Contrast checker → · Palette generator →

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