#2F762B#2F762B

#2F762B is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.131 H 142.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2F762B
RGBrgb(47, 118, 43)
HSLhsl(117, 47%, 32%)
HSVhsv(117, 64%, 46%)
CMYKcmyk(60.2%, 0%, 63.6%, 53.7%)
CIE-LABlab(43.85, -38.07, 33.99)
CIE-LCHlch(43.85, 51.03, 138.24°)
OKLaboklab(50.32% -0.1036 0.0796)
OKLCHoklch(50.32% 0.131 142.5)
XYZxyz(8.0863, 13.7349, 4.5100)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F762B #722B76
analogous
#55762B #2F762B #2B764D
triadic
#2F762B #2B2F76 #762B2F
tetradic
#2F762B #2B5576 #722B76 #764D2B
square
#2F762B #2B5576 #722B76 #764D2B
split-complementary
#2F762B #4D2B76 #762B55
monochromatic
#0B1C0A #1D491B #2F762B #41A33B #5FC259

Accessibility & contrast

On white

5.60
#2F762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2F762B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F762B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F762B#FFFFFF#000000##FFFFFF
##2F762B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B23
Deuteranopia (green-blind)
#706531
Tritanopia (blue-blind)
#247366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f762b;
/* rgb */ color: rgb(47, 118, 43);
/* oklch */ color: oklch(50.3% 0.131 142.5);
Tailwind
colors: {
  custom: {
    50: '#709e67',
    500: '#2f762b',
    950: '#000000',
  },
}
SCSS
$custom: #2f762b;
$custom-light: #709e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f762b",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 116.8,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.13069,
    "h": 142.5
  },
  "luminance": 0.13736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F762B

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

Preview Lab → · Contrast checker → · Palette generator →

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