#2F752B#2F752B

#2F752B is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.129 H 142.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2F752B
RGBrgb(47, 117, 43)
HSLhsl(117, 46%, 31%)
HSVhsv(117, 63%, 46%)
CMYKcmyk(59.8%, 0%, 63.2%, 54.1%)
CIE-LABlab(43.51, -37.66, 33.60)
CIE-LCHlch(43.51, 50.47, 138.26°)
OKLaboklab(50.04% -0.1025 0.0788)
OKLCHoklch(50.04% 0.129 142.5)
XYZxyz(7.9692, 13.5006, 4.4710)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F752B #712B75
analogous
#54752B #2F752B #2B754C
triadic
#2F752B #2B2F75 #752B2F
tetradic
#2F752B #2B5475 #712B75 #754C2B
square
#2F752B #2B5475 #712B75 #754C2B
split-complementary
#2F752B #4C2B75 #752B54
monochromatic
#0B1B0A #1D481B #2F752B #41A23B #5EC259

Accessibility & contrast

On white

5.68
#2F752B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F752B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F752B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F752B#FFFFFF#000000##FFFFFF
##2F752B1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A23
Deuteranopia (green-blind)
#6F6431
Tritanopia (blue-blind)
#247265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f752b;
/* rgb */ color: rgb(47, 117, 43);
/* oklch */ color: oklch(50.0% 0.129 142.5);
Tailwind
colors: {
  custom: {
    50: '#6f9d67',
    500: '#2f752b',
    950: '#000000',
  },
}
SCSS
$custom: #2f752b;
$custom-light: #6f9d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f752b",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 116.757,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.1293,
    "h": 142.5
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#2F752B
secondary
#A255A7
accent
#52D6CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F752B

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

Preview Lab → · Contrast checker → · Palette generator →

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