#2F751D#2F751D

#2F751D is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.140 H 140.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2F751D
RGBrgb(47, 117, 29)
HSLhsl(108, 60%, 29%)
HSVhsv(108, 75%, 46%)
CMYKcmyk(59.8%, 0%, 75.2%, 54.1%)
CIE-LABlab(43.38, -39.09, 39.76)
CIE-LCHlch(43.38, 55.76, 134.52°)
OKLaboklab(49.9% -0.1073 0.09)
OKLCHoklch(49.9% 0.14 140)
XYZxyz(7.7550, 13.4150, 3.3428)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F751D #631D75
analogous
#5B751D #2F751D #1D7537
triadic
#2F751D #1D2F75 #751D2F
tetradic
#2F751D #1D5B75 #631D75 #75371D
square
#2F751D #1D5B75 #631D75 #75371D
split-complementary
#2F751D #371D75 #751D5B
monochromatic
#0A1906 #1B4411 #2F751D #43A629 #5BCF3D

Accessibility & contrast

On white

5.70
#2F751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2F751D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F751D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F751D#FFFFFF#000000##FFFFFF
##2F751D1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0E
Deuteranopia (green-blind)
#706426
Tritanopia (blue-blind)
#277164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f751d;
/* rgb */ color: rgb(47, 117, 29);
/* oklch */ color: oklch(49.9% 0.140 140.0);
Tailwind
colors: {
  custom: {
    50: '#709d5f',
    500: '#2f751d',
    950: '#000000',
  },
}
SCSS
$custom: #2f751d;
$custom-light: #709d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f751d",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 107.727,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.14007,
    "h": 140
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#2F751D
secondary
#9545A9
accent
#44E3C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F751D

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

Preview Lab → · Contrast checker → · Palette generator →

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