#2F7232#2F7232

#2F7232 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.119 H 144.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2F7232
RGBrgb(47, 114, 50)
HSLhsl(123, 42%, 32%)
HSVhsv(123, 59%, 45%)
CMYKcmyk(58.8%, 0%, 56.1%, 55.3%)
CIE-LABlab(42.56, -35.48, 28.92)
CIE-LCHlch(42.56, 45.77, 140.82°)
OKLaboklab(49.29% -0.0963 0.0692)
OKLCHoklch(49.29% 0.119 144.3)
XYZxyz(7.7649, 12.8686, 5.0917)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7232 #722F6F
analogous
#4E722F #2F7232 #2F7254
triadic
#2F7232 #322F72 #72322F
tetradic
#2F7232 #2F4E72 #722F6F #72542F
square
#2F7232 #2F4E72 #722F6F #72542F
split-complementary
#2F7232 #542F72 #722F4E
monochromatic
#0B1B0C #1D471F #2F7232 #419D45 #5FBD63

Accessibility & contrast

On white

5.88
#2F7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2F7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7232
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7232#FFFFFF#000000##FFFFFF
##2F72321.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682C
Deuteranopia (green-blind)
#6B6237
Tritanopia (blue-blind)
#236F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f7232;
/* rgb */ color: rgb(47, 114, 50);
/* oklch */ color: oklch(49.3% 0.119 144.3);
Tailwind
colors: {
  custom: {
    50: '#6f9b6c',
    500: '#2f7232',
    950: '#000000',
  },
}
SCSS
$custom: #2f7232;
$custom-light: #6f9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7232",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 122.687,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.11858,
    "h": 144.3
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#2F7232
secondary
#A35AA0
accent
#56CCD1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2F7232

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

Preview Lab → · Contrast checker → · Palette generator →

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