#2F752D#2F752D

#2F752D is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.1% C 0.128 H 142.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F752D
RGBrgb(47, 117, 45)
HSLhsl(118, 44%, 32%)
HSVhsv(118, 62%, 46%)
CMYKcmyk(59.8%, 0%, 61.5%, 54.1%)
CIE-LABlab(43.53, -37.41, 32.64)
CIE-LCHlch(43.53, 49.65, 138.90°)
OKLaboklab(50.07% -0.1018 0.0769)
OKLCHoklch(50.07% 0.128 142.9)
XYZxyz(8.0068, 13.5157, 4.6690)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F752D #732D75
analogous
#53752D #2F752D #2D754F
triadic
#2F752D #2D2F75 #752D2F
tetradic
#2F752D #2D5375 #732D75 #754F2D
square
#2F752D #2D5375 #732D75 #754F2D
split-complementary
#2F752D #4F2D75 #752D53
monochromatic
#0B1D0B #1D491C #2F752D #41A13E #5FC05C

Accessibility & contrast

On white

5.67
#2F752D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F752D
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F752D#FFFFFF#000000##FFFFFF
##2F752D1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f752d;
/* rgb */ color: rgb(47, 117, 45);
/* oklch */ color: oklch(50.1% 0.128 142.9);
Tailwind
colors: {
  custom: {
    50: '#6f9d68',
    500: '#2f752d',
    950: '#000000',
  },
}
SCSS
$custom: #2f752d;
$custom-light: #6f9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f752d",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 45
  },
  "hsl": {
    "h": 118.333,
    "s": 44.444,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.12754,
    "h": 142.9
  },
  "luminance": 0.13516
}

Semantic roles & 50–950 ramp

primary
#2F752D
secondary
#A457A6
accent
#54D4D1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F752D

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

Preview Lab → · Contrast checker → · Palette generator →

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