#2F752F#2F752F

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

Color values

HEX#2F752F
RGBrgb(47, 117, 47)
HSLhsl(120, 43%, 32%)
HSVhsv(120, 60%, 46%)
CMYKcmyk(59.8%, 0%, 59.8%, 54.1%)
CIE-LABlab(43.55, -37.15, 31.65)
CIE-LCHlch(43.55, 48.81, 139.57°)
OKLaboklab(50.09% -0.101 0.0749)
OKLCHoklch(50.09% 0.126 143.4)
XYZxyz(8.0462, 13.5314, 4.8766)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F752F #752F75
analogous
#52752F #2F752F #2F7552
triadic
#2F752F #2F2F75 #752F2F
tetradic
#2F752F #2F5275 #752F75 #75522F
square
#2F752F #2F5275 #752F75 #75522F
split-complementary
#2F752F #522F75 #752F52
monochromatic
#0C1E0C #1D491D #2F752F #41A141 #5FBF5F

Accessibility & contrast

On white

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

On black

3.71
#2F752F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F752F#FFFFFF#000000##FFFFFF
##2F752F1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B28
Deuteranopia (green-blind)
#6E6534
Tritanopia (blue-blind)
#237266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f752f;
/* rgb */ color: rgb(47, 117, 47);
/* oklch */ color: oklch(50.1% 0.126 143.4);
Tailwind
colors: {
  custom: {
    50: '#6f9d6a',
    500: '#2f752f',
    950: '#000000',
  },
}
SCSS
$custom: #2f752f;
$custom-light: #6f9d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f752f",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.12573,
    "h": 143.4
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#2F752F
secondary
#A65AA6
accent
#55D2D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F752F

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

Preview Lab → · Contrast checker → · Palette generator →

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