#2B752A#2B752A

#2B752A is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.132 H 143.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2B752A
RGBrgb(43, 117, 42)
HSLhsl(119, 47%, 31%)
HSVhsv(119, 64%, 46%)
CMYKcmyk(63.2%, 0%, 64.1%, 54.1%)
CIE-LABlab(43.36, -38.83, 33.89)
CIE-LCHlch(43.36, 51.54, 138.89°)
OKLaboklab(49.88% -0.1055 0.0793)
OKLCHoklch(49.88% 0.132 143.1)
XYZxyz(7.7750, 13.4026, 4.3673)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B752A #742A75
analogous
#50752A #2B752A #2A754E
triadic
#2B752A #2A2B75 #752A2B
tetradic
#2B752A #2A5075 #742A75 #754E2A
square
#2B752A #2A5075 #742A75 #754E2A
split-complementary
#2B752A #4E2A75 #752A50
monochromatic
#0A1B0A #1A481A #2B752A #3CA23A #58C357

Accessibility & contrast

On white

5.71
#2B752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2B752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B752A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B752A#FFFFFF#000000##FFFFFF
##2B752A1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A22
Deuteranopia (green-blind)
#6E6430
Tritanopia (blue-blind)
#1D7265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b752a;
/* rgb */ color: rgb(43, 117, 42);
/* oklch */ color: oklch(49.9% 0.132 143.1);
Tailwind
colors: {
  custom: {
    50: '#6e9d67',
    500: '#2b752a',
    950: '#000000',
  },
}
SCSS
$custom: #2b752a;
$custom-light: #6e9d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b752a",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 119.2,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.13201,
    "h": 143.1
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#2B752A
secondary
#A654A7
accent
#51D7D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B752A

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

Preview Lab → · Contrast checker → · Palette generator →

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