#2F752C#2F752C

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

Color values

HEX#2F752C
RGBrgb(47, 117, 44)
HSLhsl(118, 45%, 32%)
HSVhsv(118, 62%, 46%)
CMYKcmyk(59.8%, 0%, 62.4%, 54.1%)
CIE-LABlab(43.52, -37.54, 33.12)
CIE-LCHlch(43.52, 50.06, 138.58°)
OKLaboklab(50.05% -0.1021 0.0778)
OKLCHoklch(50.05% 0.128 142.7)
XYZxyz(7.9878, 13.5081, 4.5688)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F752C #722C75
analogous
#54752C #2F752C #2C754E
triadic
#2F752C #2C2F75 #752C2F
tetradic
#2F752C #2C5475 #722C75 #754E2C
square
#2F752C #2C5475 #722C75 #754E2C
split-complementary
#2F752C #4E2C75 #752C54
monochromatic
#0B1C0B #1D491B #2F752C #41A13D #5FC15A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F752C#FFFFFF#000000##FFFFFF
##2F752C1.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)
#786B24
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#247265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f752c;
/* rgb */ color: rgb(47, 117, 44);
/* oklch */ color: oklch(50.1% 0.128 142.7);
Tailwind
colors: {
  custom: {
    50: '#6f9d68',
    500: '#2f752c',
    950: '#000000',
  },
}
SCSS
$custom: #2f752c;
$custom-light: #6f9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f752c",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 44
  },
  "hsl": {
    "h": 117.534,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.12842,
    "h": 142.7
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#2F752C
secondary
#A356A7
accent
#53D5D0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F752C

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

Preview Lab → · Contrast checker → · Palette generator →

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