#2F762D#2F762D

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

Color values

HEX#2F762D
RGBrgb(47, 118, 45)
HSLhsl(118, 45%, 32%)
HSVhsv(118, 62%, 46%)
CMYKcmyk(60.2%, 0%, 61.9%, 53.7%)
CIE-LABlab(43.87, -37.82, 33.03)
CIE-LCHlch(43.87, 50.21, 138.87°)
OKLaboklab(50.35% -0.1029 0.0777)
OKLCHoklch(50.35% 0.129 142.9)
XYZxyz(8.1239, 13.7499, 4.7080)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F762D #742D76
analogous
#54762D #2F762D #2D7650
triadic
#2F762D #2D2F76 #762D2F
tetradic
#2F762D #2D5476 #742D76 #76502D
square
#2F762D #2D5476 #742D76 #76502D
split-complementary
#2F762D #502D76 #762D54
monochromatic
#0C1D0B #1D4A1C #2F762D #41A23E #5FC15C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F762D#FFFFFF#000000##FFFFFF
##2F762D1.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)
#796B25
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#237366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f762d;
/* rgb */ color: rgb(47, 118, 45);
/* oklch */ color: oklch(50.3% 0.129 142.9);
Tailwind
colors: {
  custom: {
    50: '#709e69',
    500: '#2f762d',
    950: '#000000',
  },
}
SCSS
$custom: #2f762d;
$custom-light: #709e69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f762d",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 45
  },
  "hsl": {
    "h": 118.356,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50347,
    "c": 0.12894,
    "h": 142.9
  },
  "luminance": 0.13751
}

Semantic roles & 50–950 ramp

primary
#2F762D
secondary
#A557A7
accent
#53D4D1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F762D

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

Preview Lab → · Contrast checker → · Palette generator →

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