#2B7A52#2B7A52

#2B7A52 is a mid, moderate green. Relative luminance 0.150; OKLCH L 52.0% C 0.100 H 157.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2B7A52
RGBrgb(43, 122, 82)
HSLhsl(150, 48%, 32%)
HSVhsv(150, 65%, 48%)
CMYKcmyk(64.8%, 0%, 32.8%, 52.2%)
CIE-LABlab(45.69, -34.04, 14.98)
CIE-LCHlch(45.69, 37.20, 156.24°)
OKLaboklab(52% -0.0927 0.0379)
OKLCHoklch(52% 0.1 157.8)
XYZxyz(9.4779, 15.0409, 10.3847)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A52 #7A2B53
analogous
#2C7A2B #2B7A52 #2B7A7A
triadic
#2B7A52 #522B7A #7A522B
tetradic
#2B7A52 #2B2C7A #7A2B53 #7A7A2B
square
#2B7A52 #2B2C7A #7A2B53 #7A7A2B
split-complementary
#2B7A52 #7A2B7A #7A2B2C
monochromatic
#0B1F15 #1B4D34 #2B7A52 #3BA770 #5AC58F

Accessibility & contrast

On white

5.24
#2B7A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2B7A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A52
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A52#FFFFFF#000000##FFFFFF
##2B7A521.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#01796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7a52;
/* rgb */ color: rgb(43, 122, 82);
/* oklch */ color: oklch(52.0% 0.100 157.8);
Tailwind
colors: {
  custom: {
    50: '#6da182',
    500: '#2b7a52',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a52;
$custom-light: #6da182;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a52",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 82
  },
  "hsl": {
    "h": 149.62,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.10017,
    "h": 157.8
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#2B7A52
secondary
#AB5681
accent
#5095D7
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2B7A52

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

Preview Lab → · Contrast checker → · Palette generator →

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