#2F7331#2F7331

#2F7331 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.6% C 0.121 H 144.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2F7331
RGBrgb(47, 115, 49)
HSLhsl(122, 42%, 32%)
HSVhsv(122, 59%, 45%)
CMYKcmyk(59.1%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.89, -36.04, 29.84)
CIE-LCHlch(42.89, 46.79, 140.38°)
OKLaboklab(49.56% -0.0979 0.0712)
OKLCHoklch(49.56% 0.121 144)
XYZxyz(7.8570, 13.0869, 5.0171)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7331 #732F71
analogous
#4F732F #2F7331 #2F7353
triadic
#2F7331 #312F73 #73312F
tetradic
#2F7331 #2F4F73 #732F71 #73532F
square
#2F7331 #2F4F73 #732F71 #73532F
split-complementary
#2F7331 #532F73 #732F4F
monochromatic
#0B1C0C #1D481E #2F7331 #419E44 #5FBE62

Accessibility & contrast

On white

5.80
#2F7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2F7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7331
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7331#FFFFFF#000000##FFFFFF
##2F73311.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#237064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7331;
/* rgb */ color: rgb(47, 115, 49);
/* oklch */ color: oklch(49.6% 0.121 144.0);
Tailwind
colors: {
  custom: {
    50: '#6f9c6b',
    500: '#2f7331',
    950: '#000000',
  },
}
SCSS
$custom: #2f7331;
$custom-light: #6f9c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7331",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 121.765,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49557,
    "c": 0.12099,
    "h": 144
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#2F7331
secondary
#A45AA2
accent
#56CED2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2F7331

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

Preview Lab → · Contrast checker → · Palette generator →

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