#2F7220#2F7220

#2F7220 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.1% C 0.134 H 140.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2F7220
RGBrgb(47, 114, 32)
HSLhsl(109, 56%, 29%)
HSVhsv(109, 72%, 45%)
CMYKcmyk(58.8%, 0%, 71.9%, 55.3%)
CIE-LABlab(42.37, -37.63, 37.46)
CIE-LCHlch(42.37, 53.09, 135.13°)
OKLaboklab(49.07% -0.1031 0.0856)
OKLCHoklch(49.07% 0.134 140.3)
XYZxyz(7.4500, 12.7426, 3.4332)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7220 #632072
analogous
#587220 #2F7220 #20723A
triadic
#2F7220 #202F72 #72202F
tetradic
#2F7220 #205872 #632072 #723A20
square
#2F7220 #205872 #632072 #723A20
split-complementary
#2F7220 #3A2072 #722058
monochromatic
#0A1807 #1B4213 #2F7220 #43A22D #5BCA42

Accessibility & contrast

On white

5.92
#2F7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2F7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7220
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7220#FFFFFF#000000##FFFFFF
##2F72201.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756714
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#276E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f7220;
/* rgb */ color: rgb(47, 114, 32);
/* oklch */ color: oklch(49.1% 0.134 140.3);
Tailwind
colors: {
  custom: {
    50: '#6f9b60',
    500: '#2f7220',
    950: '#000000',
  },
}
SCSS
$custom: #2f7220;
$custom-light: #6f9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7220",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 109.024,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.13405,
    "h": 140.3
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#2F7220
secondary
#9548A6
accent
#48DFC4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7220

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

Preview Lab → · Contrast checker → · Palette generator →

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